From a3388622287e218beddfa14a47ed677d4307b36b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 25 Mar 2016 17:55:51 +0100 Subject: Removed simpletest and moved all tests in the unit tree Tests are executed now, but a lot of them need fixing. --- .../ActiveRecord/CountRecordsTestCase.php | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 tests/simple_unit/ActiveRecord/CountRecordsTestCase.php (limited to 'tests/simple_unit/ActiveRecord/CountRecordsTestCase.php') diff --git a/tests/simple_unit/ActiveRecord/CountRecordsTestCase.php b/tests/simple_unit/ActiveRecord/CountRecordsTestCase.php deleted file mode 100644 index 36a96ab6..00000000 --- a/tests/simple_unit/ActiveRecord/CountRecordsTestCase.php +++ /dev/null @@ -1,33 +0,0 @@ -setDbConnection($conn); - } - - function test_count() - { - $finder = DepartmentRecord::finder(); - $count = $finder->count('"order" > ?', 2); - $this->assertTrue($count > 0); - } - - function test_count_zero() - { - $finder = DepartmentRecord::finder(); - $count = $finder->count('"order" > ?', 11); - $this->assertEqual($count,0); - } - - function test_count_without_parameter() - { - $finder = DepartmentRecord::finder(); - $this->assertEqual($finder->count(), 8); - } -} -- cgit v1.2.3