summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-08-19 19:12:19 +0200
committerAndrey Andreev <narf@devilix.net>2013-08-19 19:12:19 +0200
commita1553a9a49b8d355de7892204759651aa3532dad (patch)
treecad375d9775c769700c2f4027e4c724d2d48dff6 /tests/codeigniter
parent49890a95da8438910b6f6b8da43ec5e5cd10f53c (diff)
Lower precision for the CI_Benchmark::elapsed_time() test - there's no way to reliably test it
Diffstat (limited to 'tests/codeigniter')
-rw-r--r--tests/codeigniter/core/Benchmark_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Benchmark_test.php b/tests/codeigniter/core/Benchmark_test.php
index a239ba51d..aff736a40 100644
--- a/tests/codeigniter/core/Benchmark_test.php
+++ b/tests/codeigniter/core/Benchmark_test.php
@@ -30,7 +30,7 @@ class Benchmark_test extends CI_TestCase {
sleep(1);
$this->benchmark->mark('code_end');
- $this->assertEquals('1.0', $this->benchmark->elapsed_time('code_start', 'code_end', 1));
+ $this->assertEquals('1', $this->benchmark->elapsed_time('code_start', 'code_end', 0));
}
// --------------------------------------------------------------------