From 46295c939ba840ccd409069ca9c2aa5b9156b66f Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 21 Sep 2019 12:36:46 +0200 Subject: [PATCH] Noalyss_SQL New function to get all indexed by the primary key Create PHPUNIT for Noalyss_SQL add new tests --- unit-test/include/lib/Noalyss_SQLTest.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unit-test/include/lib/Noalyss_SQLTest.class.php b/unit-test/include/lib/Noalyss_SQLTest.class.php index fc59e4a2a..adf15b9a2 100644 --- a/unit-test/include/lib/Noalyss_SQLTest.class.php +++ b/unit-test/include/lib/Noalyss_SQLTest.class.php @@ -303,6 +303,8 @@ VALUES(1, 'ACTIVITE', 'Activité commerciale Alchimerys sprl'); for ($i=0;$iassertTrue(isset($array[$po_name[$i]])); + $this->assertTrue(is_array($array[$po_name[$i]])); $this->assertEquals($array[$po_name[$i]]['po_name'],$po_name[$i]); }