Skip to content

Commit 068940e

Browse files
committed
Improve the test name
1 parent 572d71c commit 068940e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/AntiMattr/Tests/MongoDB/Migrations/Configuration/ConfigurationTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,12 @@ public function testValidate()
271271
}
272272

273273
/**
274-
* testDuplicateThrowsException.
274+
* testDuplicateInGetMigratedTimestampThrowsException.
275275
*
276276
* @expectedException \DomainException
277277
* @expectedExceptionMessage Unexpected duplicate version records in the database
278278
*/
279-
public function testDuplicateThrowsException()
279+
public function testDuplicateInGetMigratedTimestampThrowsException()
280280
{
281281
$this->prepareValidConfiguration();
282282

@@ -340,6 +340,7 @@ public function testGetMigratedTimestamp()
340340
$this->assertTrue(is_numeric($this->configuration->getMigratedTimestamp('1')));
341341
}
342342

343+
343344
private function prepareValidConfiguration()
344345
{
345346
$directory = dirname(__DIR__) . '/Resources/Migrations/';

0 commit comments

Comments
 (0)