Fix unit tests to accommodate exceptionally long-running tests

This commit is contained in:
Kijin Sung 2016-03-17 16:24:27 +09:00
parent 15a0c591dc
commit 8b55959880

View file

@ -47,7 +47,7 @@ class TimerTest extends \Codeception\TestCase\Test
$t1 = Rhymix\Framework\Timer::start();
$t2 = Rhymix\Framework\Timer::stopFormat();
$this->assertRegexp('/^[0-9\.]+ms$/', $t2);
$this->assertRegexp('/^[0-9\.,]+ms$/', $t2);
}
function testTimerSinceStartup()
@ -58,6 +58,6 @@ class TimerTest extends \Codeception\TestCase\Test
$this->assertGreaterThanOrEqual($t1, $t2);
$t3 = Rhymix\Framework\Timer::sinceStartupFormat();
$this->assertRegexp('/^[0-9\.]+ms$/', $t3);
$this->assertRegexp('/^[0-9\.,]+ms$/', $t3);
}
}