diff --git a/tests/ManagerTest.php b/tests/ManagerTest.php index d26fa51..e474138 100644 --- a/tests/ManagerTest.php +++ b/tests/ManagerTest.php @@ -52,9 +52,9 @@ public function testGetAvailableRevisions() $revision = current($availableRevisions); $this->assertInstanceOf('\Sokil\Mongo\Migrator\Revision', $revision); - $this->assertEquals('20140531201029', $revision->getId()); - $this->assertEquals('Test5', $revision->getName()); - $this->assertEquals('20140531201029_Test5.php', $revision->getFilename()); + $this->assertEquals('20140531183810', $revision->getId()); + $this->assertEquals('InitialRevision', $revision->getName()); + $this->assertEquals('20140531183810_InitialRevision.php', $revision->getFilename()); } public function testGetClient() diff --git a/tests/migrations/20140531183810_InititalRevision.php b/tests/migrations/20140531183810_InitialRevision.php similarity index 60% rename from tests/migrations/20140531183810_InititalRevision.php rename to tests/migrations/20140531183810_InitialRevision.php index ac653d6..e408dff 100644 --- a/tests/migrations/20140531183810_InititalRevision.php +++ b/tests/migrations/20140531183810_InitialRevision.php @@ -1,6 +1,6 @@