From 78e851be9f3984fda274aa52e21fc843e835641d Mon Sep 17 00:00:00 2001 From: Dmytro Sokil Date: Tue, 30 Oct 2018 01:09:47 +0200 Subject: [PATCH] fix tests --- tests/ManagerTest.php | 6 +++--- ...titalRevision.php => 20140531183810_InitialRevision.php} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename tests/migrations/{20140531183810_InititalRevision.php => 20140531183810_InitialRevision.php} (60%) 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 @@