Skip to content

Fix test case in local environment#95

Merged
owenpearson merged 2 commits intomainfrom
headerscase
Mar 4, 2021
Merged

Fix test case in local environment#95
owenpearson merged 2 commits intomainfrom
headerscase

Conversation

@jdavid
Copy link
Copy Markdown
Contributor

@jdavid jdavid commented Feb 24, 2021

This doesn't show up in CI, but I have this error locally:

1) tests\HttpTest::testRequestBasic
Expected headers to be an array containing key `Content-Type`
Failed asserting that an array has the key 'Content-Type'.

/home/jdavid/sandboxes/Ably/ably-php/tests/HttpTest.php:143

This PR fixes that unit test.

For some reason curl returns the keys in response headers as lowercase,
in my local environment. Make them Title-Case.
@owenpearson owenpearson merged commit 8441451 into main Mar 4, 2021
@owenpearson owenpearson deleted the headerscase branch March 4, 2021 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants