1
0
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:
Alexander Skvortsov
2022-04-24 16:26:18 -04:00
committed by GitHub
parent 290bc19922
commit ffc9f9f5a4
5 changed files with 14 additions and 7 deletions

View File

@@ -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());
}