noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/23: Last detail : logo , fix unit test fil


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/23: Last detail : logo , fix unit test file
Date: Sun, 26 Feb 2023 14:47:28 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 743efc32233d2fc4cce8cf0c3bcc80888f34e303
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Feb 7 16:35:25 2023 +0100

    Last detail : logo , fix unit test file
---
 html/image/logo9000.png                       | Bin 32403 -> 31897 bytes
 html/index.php                                |   3 ++-
 unit-test/include/class/card_propertyTest.php |   3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/html/image/logo9000.png b/html/image/logo9000.png
index 1d11fb7a5..d733c0259 100644
Binary files a/html/image/logo9000.png and b/html/image/logo9000.png differ
diff --git a/html/index.php b/html/index.php
index 5cf6f81b4..f6ed32937 100644
--- a/html/index.php
+++ b/html/index.php
@@ -215,7 +215,7 @@ if 
(isset($_REQUEST['reconnect'])&&isset($_REQUEST['backurl']))
     $goto='<input type="hidden" value="'.strip_tags($_REQUEST['backurl']).'" 
name="backurl">';
 }
 ?>
-<div >
+<div>
     <div class="d-sm-block">
         <a href="https://www.noalyss.eu";><IMG SRC="image/logo9000.png" 
id="logo_id" alt="NOALYSS"></a>
      
@@ -301,6 +301,7 @@ if 
(isset($_REQUEST['reconnect'])&&isset($_REQUEST['backurl']))
                         </SPAN>
 
                 </div>
+    </div>
     </div>
                 <script> SetFocus('p_user');</script>
 
diff --git a/unit-test/include/class/card_propertyTest.php 
b/unit-test/include/class/card_propertyTest.php
index c5da8413a..ebf5beeb4 100644
--- a/unit-test/include/class/card_propertyTest.php
+++ b/unit-test/include/class/card_propertyTest.php
@@ -261,7 +261,8 @@ class Card_PropertyTest extends TestCase
          
\Noalyss\Facility::save_file(__DIR__."/file",$file_result,var_export($result,true));
         
$this->assertFileEquals(__DIR__."/file/$file_target",__DIR__."/file/$file_result","Card_Property::build_input
 failed");
         */
-        $this->assertEquals("600",$result["input"]->value," Accounting 
incorrect ");
+       $expected=$g_connection->get_value("select fd_class_base from fiche_def 
where fd_id=$1",[2]);
+        $this->assertEquals($expected,$result["input"]->value," Accounting 
incorrect ");
     }
 
 }



reply via email to

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