[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/03: Noalyss_SQL New function to get all in
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/03: Noalyss_SQL New function to get all indexed by the primary key Create PHPUNIT for Noalyss_SQL add new tests |
Date: |
Sat, 21 Sep 2019 06:58:09 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 46295c939ba840ccd409069ca9c2aa5b9156b66f
Author: Dany De Bontridder <address@hidden>
Date: Sat Sep 21 12:36:46 2019 +0200
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 fc59e4a..adf15b9 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;$i<count($array);$i++)
{
+ $this->assertTrue(isset($array[$po_name[$i]]));
+ $this->assertTrue(is_array($array[$po_name[$i]]));
$this->assertEquals($array[$po_name[$i]]['po_name'],$po_name[$i]);
}