mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix null array key in HeadersTest
Cast null to string to avoid invalid array key type error while preserving the test's intent of validating empty keys.
This commit is contained in:
@@ -77,7 +77,7 @@ class HeadersTest extends TestCase
|
||||
$this->assertFalse($this->object->isValid($headers));
|
||||
|
||||
$headers = [
|
||||
null => 'value',
|
||||
(string) null => 'value',
|
||||
];
|
||||
$this->assertFalse($this->object->isValid($headers));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user