mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 06:36:06 +03:00
fix path in restore data
This commit is contained in:
parent
484d738e70
commit
3516378d7e
@ -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']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user