fix path in restore data

This commit is contained in:
Akolzin Dmitry 2020-02-17 23:12:51 +03:00
parent 484d738e70
commit 3516378d7e

View File

@ -168,7 +168,7 @@ class RoboFile extends \Robo\Tasks
private function restoreSampleData($conn)
{
$sql = file_get_contents('tests/opencart_sample_data.sql');
$sql = file_get_contents($this->root_dir . 'tests/opencart_sample_data.sql');
$conn->exec("USE " . $this->opencart_config['db_database']);