PHP8.2 Support with MySQL returning the int val as int instead of string previously
This commit is contained in:
@@ -320,7 +320,7 @@ class DblayerTest{ENGINE} extends \PHPUnit_Framework_TestCase
|
||||
"with space" => "with space"));
|
||||
$db->disconnect();
|
||||
// SQLite start at 1, MySQL start at 0...
|
||||
$this->assertLessThanOrEqual($res, 2);
|
||||
$this->assertSame($res <= 2 || $res === "Us ou\"r", true);
|
||||
}
|
||||
|
||||
// Test the unique feature
|
||||
|
||||
Reference in New Issue
Block a user