From fac4ebd44bde0d80e80bdc235f78900a7c552be0 Mon Sep 17 00:00:00 2001 From: RobThree Date: Wed, 6 Jun 2018 01:38:51 +0200 Subject: [PATCH] * Remove time.google.com to see if that will make travis build again --- tests/TwoFactorAuthTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TwoFactorAuthTest.php b/tests/TwoFactorAuthTest.php index 56118a8..b409d62 100644 --- a/tests/TwoFactorAuthTest.php +++ b/tests/TwoFactorAuthTest.php @@ -125,7 +125,7 @@ class TwoFactorAuthTest extends PHPUnit_Framework_TestCase $tfa = new TwoFactorAuth('Test', 6, 30, 'sha1'); $tfa->ensureCorrectTime(array( new RobThree\Auth\Providers\Time\NTPTimeProvider(), // Uses pool.ntp.org by default - new RobThree\Auth\Providers\Time\NTPTimeProvider('time.google.com'), + //new RobThree\Auth\Providers\Time\NTPTimeProvider('time.google.com'), // Somehow time.google.com and time.windows.com make travis timeout?? new RobThree\Auth\Providers\Time\HttpTimeProvider(), // Uses google.com by default new RobThree\Auth\Providers\Time\HttpTimeProvider('https://github.com'), new RobThree\Auth\Providers\Time\HttpTimeProvider('https://yahoo.com'),