Skip to content

Commit b24204b

Browse files
authored
Remove using https://github.com as HttpTimeProvider test source
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
1 parent 30a3862 commit b24204b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TwoFactorAuthTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testEnsureAllTimeProvidersReturnCorrectTime()
6060
new \RobThree\Auth\Providers\Time\NTPTimeProvider(), // Uses pool.ntp.org by default
6161
//new \RobThree\Auth\Providers\Time\NTPTimeProvider('time.google.com'), // Somehow time.google.com and time.windows.com make travis timeout??
6262
new \RobThree\Auth\Providers\Time\HttpTimeProvider(), // Uses google.com by default
63-
new \RobThree\Auth\Providers\Time\HttpTimeProvider('https://github.com'),
63+
//new \RobThree\Auth\Providers\Time\HttpTimeProvider('https://github.com'), // github.com will periodically report times that are off by more than 5 sec
6464
new \RobThree\Auth\Providers\Time\HttpTimeProvider('https://yahoo.com'),
6565
));
6666
$this->noAssertionsMade();

0 commit comments

Comments
 (0)