PHP unit tests updates for class changes

This commit is contained in:
Clemens Schwaighofer
2022-12-09 16:53:10 +09:00
parent b7c6d4b478
commit 26af6a07f4
3 changed files with 40 additions and 3 deletions

View File

@@ -1189,7 +1189,13 @@ final class CoreLibsDBIOTest extends TestCase
$this->assertEquals(
$expected,
$db->dbEscapeBytea($input)
$db->dbEscapeBytea($input),
'Assert error to bytea'
);
$this->assertEquals(
$input,
$db->dbUnescapeBytea($expected),
'Assert error from bytes'
);
$db->dbClose();