Skip to content

Commit

Permalink
fix paths 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Jan 11, 2018
1 parent 2dd02fe commit 201d415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestHelper.php
Expand Up @@ -215,7 +215,7 @@ public function updateDbFromVersion($version, $connection = null)
$inst = new \InstallerController('foobar');
$inst->connection = $connection;
// Check SQL file.
$file = __DIR__ . '/data/sql/create-mysql.' . $version . '.sql';
$file = TestBaseClass::getDataFolder().'/sql/create-mysql.' . $version . '.sql';
$this->assertFileExists($file, 'SQL file exists: ' . $file);
// Run SQL install file.
$result = $inst->_executeSQLFile($file, 'lime_');
Expand Down

0 comments on commit 201d415

Please sign in to comment.