noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/03: Noalyss_SQL New function to get all in


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/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:08 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 26b623094ed1e2c450667eb4e2b20a063280ecc0
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, 1 insertion(+), 1 deletion(-)

diff --git a/unit-test/include/lib/Noalyss_SQLTest.class.php 
b/unit-test/include/lib/Noalyss_SQLTest.class.php
index 31aa6c0..fc59e4a 100644
--- a/unit-test/include/lib/Noalyss_SQLTest.class.php
+++ b/unit-test/include/lib/Noalyss_SQLTest.class.php
@@ -303,7 +303,7 @@ VALUES(1, 'ACTIVITE', 'Activité commerciale Alchimerys 
sprl');
 
         for ($i=0;$i<count($array);$i++)
         {
-            $this->assertTrue(isset($array[$po_name[$i]]));
+            $this->assertEquals($array[$po_name[$i]]['po_name'],$po_name[$i]);
         }
 
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]