fix assertion
This commit is contained in:
parent
3dcd1314f5
commit
349b78d5e5
|
@ -986,7 +986,7 @@ trait UsersBase
|
||||||
'password' => 'password'
|
'password' => 'password'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->assertEquals($session['headers']['status-code'], 401);
|
$this->assertEquals(401, $session['headers']['status-code']);
|
||||||
|
|
||||||
$user = $this->client->call(Client::METHOD_PATCH, '/users/' . $data['userId'] . '/password', array_merge([
|
$user = $this->client->call(Client::METHOD_PATCH, '/users/' . $data['userId'] . '/password', array_merge([
|
||||||
'content-type' => 'application/json',
|
'content-type' => 'application/json',
|
||||||
|
|
Loading…
Reference in a new issue