Skip to content
Snippets Groups Projects
Commit 02f795f5 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

fix migration tests

parent 18fc9765
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,11 @@ class MigrationTest extends \Codeception\Test\Unit ...@@ -41,6 +41,11 @@ class MigrationTest extends \Codeception\Test\Unit
{ {
private $versions = [0]; private $versions = [0];
public function getDomain()
{
return 'test';
}
public function getBranch() public function getBranch()
{ {
return 0; return 0;
...@@ -81,7 +86,7 @@ class MigrationTest extends \Codeception\Test\Unit ...@@ -81,7 +86,7 @@ class MigrationTest extends \Codeception\Test\Unit
$migrator->migrateTo(2); $migrator->migrateTo(2);
$relevant = $migrator->relevantMigrations(null); $relevant = $migrator->relevantMigrations(null);
$this->assertSame(1, count($relevant)); $this->assertSame(2, count($relevant));
} }
public function testMigrationUp() public function testMigrationUp()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment