ICARD: improve, action in javascript after cleaning the input of the qcode

This commit is contained in:
sparkyx 2025-11-22 10:48:00 +01:00
parent 1b2101c557
commit ac87e863ad
8 changed files with 27 additions and 7 deletions

View file

@ -901,7 +901,9 @@ 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 == 16075 ," output input_new is $size not what it is expected");
$expected=15985;
$delta =$size-$expected;
$this->assertTrue($delta == 0 ," output input_new is $size expected $expected not what it is expected DELTA=$delta, file to check ".__DIR__."/file/acc_ledger-input_new.html");
}

View file

@ -89,7 +89,9 @@ 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==10971,"Size of the html string for display_search_form see "
$expected=10971;
$delta =$filesize-$expected;
$this->assertTrue($delta == 0,"Size of the html string for display_search_form see delta = $delta , size=$filesize, expected=$expected "
. __DIR__."/file/acc_ledger_search-test_display_search_form.html ");
}
/**