From c27aeeab1087fcdeea8e2f29f5fc22d99efaa658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20D=2E=20Rodas?= Date: Wed, 13 Nov 2013 05:06:23 -0300 Subject: [PATCH] Sleep is no longer needed on tests --- tests/DBTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/DBTest.php b/tests/DBTest.php index 60a833d..a245a88 100644 --- a/tests/DBTest.php +++ b/tests/DBTest.php @@ -57,7 +57,6 @@ class DBTest extends \phpunit_framework_testcase $db->insert("foobar", ['type' => '/foobar', 'karma' => 20]); $db->insert("foobar", ['type' => '/barfoo', 'karma' => 30]); - sleep(1); $this->assertEquals($db->first("SELECT max(karma) FROM foobar")->max, 30); $this->assertEquals($db->first("SELECT min(karma) FROM foobar")->min, 10); $this->assertEquals($db->first("SELECT mean(karma) FROM foobar")->mean, 20);