Skip to content

Commit 97c9fb5

Browse files
fix test for first second of 2021
1 parent dc1012b commit 97c9fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CountriesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function testIsCodeInEU()
6464

6565
// test for Brexit
6666
$now = new DateTime('now');
67-
$y2021 = new DateTime('2021-01-01 00:00:00');
67+
$y2021 = new DateTime('2020-12-31 23:59:59');
6868
if ($now > $y2021) {
6969
$this->assertFalse($countries->isCountryCodeInEU('GB'));
7070
} else {

0 commit comments

Comments
 (0)