Skip to content

Commit 8fdb125

Browse files
committed
Migration code coverage test case
1 parent ecd5b79 commit 8fdb125

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/Database/Migrations/MigrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ public function setUp()
1212
public function testDBGroup()
1313
{
1414
$migration = new class extends Migration {
15-
protected $DBGroup = 'default';
15+
protected $DBGroup = 'tests';
1616
function up(){}
1717
function down(){}
1818
};
1919

2020
$dbGroup = $migration->getDBGroup();
2121

22-
$this->assertEquals('default', $dbGroup);
22+
$this->assertEquals('tests', $dbGroup);
2323
}
2424
}

0 commit comments

Comments
 (0)