noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 08/09: PHPUnit : update test


From: dwm
Subject: [Noalyss-commit] [noalyss] 08/09: PHPUnit : update test
Date: Mon, 19 Aug 2024 15:03:10 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit e279559f7d0996b42a581f7d3f213e545bc2836d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Aug 19 20:49:41 2024 +0200

    PHPUnit : update test
---
 unit-test/include/class/{acc_balance.Test.php => acc_balanceTest.php} | 0
 unit-test/include/class/acc_ledgerTest.php                            | 2 +-
 unit-test/include/class/acc_ledger_searchTest.php                     | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/unit-test/include/class/acc_balance.Test.php 
b/unit-test/include/class/acc_balanceTest.php
similarity index 100%
rename from unit-test/include/class/acc_balance.Test.php
rename to unit-test/include/class/acc_balanceTest.php
diff --git a/unit-test/include/class/acc_ledgerTest.php 
b/unit-test/include/class/acc_ledgerTest.php
index 4b0ee2e35..5705ff14d 100644
--- a/unit-test/include/class/acc_ledgerTest.php
+++ b/unit-test/include/class/acc_ledgerTest.php
@@ -899,7 +899,7 @@ class Acc_LedgerTest extends TestCase
         ob_end_clean();
         \Noalyss\Facility::save_file(__DIR__."/file", 
"acc_ledger-input_new.html", $result);
         $size=filesize(__DIR__."/file/acc_ledger-input_new.html");
-        $this->assertTrue($size == 15653  ," output input_new is not what it 
is expected");
+        $this->assertTrue($size == 15664  ," output input_new is not what it 
is expected");
 
     }
 
diff --git a/unit-test/include/class/acc_ledger_searchTest.php 
b/unit-test/include/class/acc_ledger_searchTest.php
index ab7128388..e491140ad 100644
--- a/unit-test/include/class/acc_ledger_searchTest.php
+++ b/unit-test/include/class/acc_ledger_searchTest.php
@@ -89,7 +89,7 @@ class Acc_Ledger_searchTest extends TestCase
         $r=$ledger->display_search_form();
         \Noalyss\Facility::save_file(__DIR__."/file", 
"acc_ledger_search-test_display_search_form.html", $r);
         $filesize=strlen($r);
-        $this->assertTrue($filesize==11288,"Size of the html string for 
display_search_form see "
+        $this->assertTrue($filesize==10966,"Size of the html string for 
display_search_form see "
                 . 
__DIR__."/file/acc_ledger_search-test_display_search_form.html ");
     }
     /**



reply via email to

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