diff --git a/tests/MaxMind/Test/MinFraud/UtilTest.php b/tests/MaxMind/Test/MinFraud/UtilTest.php index 56e8d6b..6c50757 100644 --- a/tests/MaxMind/Test/MinFraud/UtilTest.php +++ b/tests/MaxMind/Test/MinFraud/UtilTest.php @@ -292,9 +292,6 @@ public function testMaybeHashEmail(): void if (\function_exists('idn_to_ascii') && idn_to_ascii('bücher.com', \IDNA_NONTRANSITIONAL_TO_ASCII, \INTL_IDNA_VARIANT_UTS46) === 'xn--bcher-kva.com' - // This test fails on this combo and it is hard to tell what is going on - // without actual access to such a machine. - && (\PHP_OS !== 'Darwin' || \PHP_MAJOR_VERSION !== 7) ) { array_push( $tests, diff --git a/tests/MaxMind/Test/MinFraudTest.php b/tests/MaxMind/Test/MinFraudTest.php index b335e92..76f58e0 100644 --- a/tests/MaxMind/Test/MinFraudTest.php +++ b/tests/MaxMind/Test/MinFraudTest.php @@ -1035,13 +1035,11 @@ public static function goodTimes(): array ['2014-04-12T23:20:50Z'], ]; - if (\PHP_VERSION_ID >= 70300) { - array_push( - $tests, - ['2014-04-12T23:20:50.052+01:00'], - ['2014-04-12T23:20:50.052Z'] - ); - } + array_push( + $tests, + ['2014-04-12T23:20:50.052+01:00'], + ['2014-04-12T23:20:50.052Z'] + ); return $tests; }