1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Fix ratelimit remaining header test casing

This commit is contained in:
Jake Barnby 2022-06-09 11:17:15 +12:00
parent 742b49723f
commit c368c5cae3

View file

@ -269,8 +269,10 @@ class AccountCustomClientTest extends Scope
'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $session,
]));
\var_dump($response);
$this->assertEquals($response['headers']['status-code'], 201);
$this->assertEquals($response['headers']['X-RateLimit-Remaining'], 99);
$this->assertEquals($response['headers']['x-ratelimit-remaining'], 99);
$this->assertNotEmpty($response['body']['jwt']);
$this->assertIsString($response['body']['jwt']);