From c368c5cae37eb3fcf3a0e2f4490cd6777d80f075 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 9 Jun 2022 11:17:15 +1200 Subject: [PATCH] Fix ratelimit remaining header test casing --- tests/e2e/Services/Account/AccountCustomClientTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Services/Account/AccountCustomClientTest.php b/tests/e2e/Services/Account/AccountCustomClientTest.php index 5b5ceb0189..6427db7559 100644 --- a/tests/e2e/Services/Account/AccountCustomClientTest.php +++ b/tests/e2e/Services/Account/AccountCustomClientTest.php @@ -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']);