Skip to content

Commit

Permalink
Improve the test name
Browse files Browse the repository at this point in the history
  • Loading branch information
redthor committed Apr 12, 2018
1 parent 572d71c commit 068940e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,12 @@ public function testValidate()
}

/**
* testDuplicateThrowsException.
* testDuplicateInGetMigratedTimestampThrowsException.
*
* @expectedException \DomainException
* @expectedExceptionMessage Unexpected duplicate version records in the database
*/
public function testDuplicateThrowsException()
public function testDuplicateInGetMigratedTimestampThrowsException()
{
$this->prepareValidConfiguration();

Expand Down Expand Up @@ -340,6 +340,7 @@ public function testGetMigratedTimestamp()
$this->assertTrue(is_numeric($this->configuration->getMigratedTimestamp('1')));
}


private function prepareValidConfiguration()
{
$directory = dirname(__DIR__) . '/Resources/Migrations/';
Expand Down

0 comments on commit 068940e

Please sign in to comment.