mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-17 11:31:45 +00:00
* Changed time.windows.com to time.google.com (doesn't affect anything except that it should stop travis from failing)
This commit is contained in:
@@ -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.windows.com'),
|
||||
new RobThree\Auth\Providers\Time\NTPTimeProvider('time.google.com'),
|
||||
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'),
|
||||
|
||||
Reference in New Issue
Block a user