From 3e40bbe806b6131dedeaed1aae8ff080d7688444 Mon Sep 17 00:00:00 2001 From: Bill li Date: Tue, 14 May 2019 15:44:23 +0800 Subject: [PATCH] fix test user age for id card. --- tests/IdentityCardTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/IdentityCardTest.php b/tests/IdentityCardTest.php index bd8c004..6622dd9 100644 --- a/tests/IdentityCardTest.php +++ b/tests/IdentityCardTest.php @@ -38,7 +38,7 @@ public function testBirthday() public function testAge() { - $this->assertEquals('38', $this->idCard->getAge()); + $this->assertEquals('39', $this->idCard->getAge()); } public function testConstellation() @@ -50,4 +50,4 @@ public function testToJson() { $this->assertJson($this->idCard->toJson()); } -} \ No newline at end of file +}