mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
fix(core): don't pass null to functions where that's deprecated (#3405)
Should fix remaining PHP 8.1 deprecation warnings/
This commit is contained in:
committed by
GitHub
parent
290bc19922
commit
ffc9f9f5a4
@@ -121,14 +121,15 @@ class UpdateTest extends TestCase
|
||||
'data' => [
|
||||
'attributes' => [
|
||||
'email' => 'someOtherEmail@example.com',
|
||||
],
|
||||
'meta' => [
|
||||
'password' => 'notTheRightPassword!'
|
||||
]
|
||||
],
|
||||
'meta' => [
|
||||
'password' => 'notTheRightPassword!'
|
||||
]
|
||||
],
|
||||
])
|
||||
);
|
||||
|
||||
$this->assertEquals(401, $response->getStatusCode());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user