From 3516378d7ed3f1d6b87c4a0b7b0b45abc010c629 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Mon, 17 Feb 2020 23:12:51 +0300 Subject: [PATCH] fix path in restore data --- tests/RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/RoboFile.php b/tests/RoboFile.php index c683d91..e7d36d4 100644 --- a/tests/RoboFile.php +++ b/tests/RoboFile.php @@ -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']);