mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-03-30 11:40:11 +03:00
fix path in restore data
This commit is contained in:
parent
484d738e70
commit
3516378d7e
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class RoboFile extends \Robo\Tasks
|
||||||
|
|
||||||
private function restoreSampleData($conn)
|
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']);
|
$conn->exec("USE " . $this->opencart_config['db_database']);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue