summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/ConcertTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ConcertTest.php b/tests/ConcertTest.php
index 02ce58e..4f27f0f 100644
--- a/tests/ConcertTest.php
+++ b/tests/ConcertTest.php
@@ -212,6 +212,6 @@ final class ConcertTest extends WP_UnitTestCase
$gig = array_shift($gigs);
$this->assertEquals('a concert', $gig->cname());
$this->assertEquals('a venue', $gig->venue()->name());
- $this->assertEquals(date('Y-m-d'), $gig->cdate());
+ $this->assertEquals(date('Y-m-d'), explode(' ', $gig->cdate())[0]);
}
}