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. --- tests/unit/Data/TableGateway/CountTest.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/unit/Data/TableGateway/CountTest.php (limited to 'tests/unit/Data/TableGateway/CountTest.php') diff --git a/tests/unit/Data/TableGateway/CountTest.php b/tests/unit/Data/TableGateway/CountTest.php new file mode 100644 index 00000000..074d935b --- /dev/null +++ b/tests/unit/Data/TableGateway/CountTest.php @@ -0,0 +1,18 @@ +getGateway2()->count(); + $this->assertEqual(44,$result); + + $result = $this->getGateway2()->count('department_id = ?', 1); + $this->assertEqual(4, $result); + } +} \ No newline at end of file -- cgit v1.2.3