Bug #0002219: Compatibilité PHP 8.2 , 8.1 , 8.0
This commit is contained in:
parent
034b93b6f4
commit
9e2a63c718
4 changed files with 48 additions and 23 deletions
|
|
@ -39,7 +39,7 @@ class Acc_Ledger_History_PurchaseTest extends TestCase
|
|||
*/
|
||||
protected function setUp():void
|
||||
{
|
||||
include 'global.php';
|
||||
include DIRTEST.'/global.php';
|
||||
global $g_connection;
|
||||
$this->object=new Acc_Ledger_History_Purchase($g_connection, [3], 92, 131, 'L');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -296,6 +296,9 @@ class Ac_CommonTest extends TestCase
|
|||
$this->assertEquals(8,strlen(generate_random_string(8)));
|
||||
$this->assertEquals(12,strlen(generate_random_string(12)));
|
||||
$this->assertEquals(16,strlen(generate_random_string(16)));
|
||||
$generate=generate_random_string(12);
|
||||
$generateOther=generate_random_string(12);
|
||||
$this->assertNotEquals($generate,$generateOther , __FUNCTION__.' Generate 2 in a row the same string');
|
||||
}
|
||||
function testDatabase_Escape_String()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue