Skip to content

Fix parsePaginationHeaders#93

Merged
QuintinWillison merged 1 commit intomainfrom
fix92
Feb 2, 2021
Merged

Fix parsePaginationHeaders#93
QuintinWillison merged 1 commit intomainfrom
fix92

Conversation

@jdavid
Copy link
Copy Markdown
Contributor

@jdavid jdavid commented Feb 2, 2021

Fixes issue #92

Errors found when running the tests locally:

  1) tests\AppStatsTest::testAppstatsPagination0
  Trying to get property 'items' of non-object

  /home/jdavid/sandboxes/Ably/ably-php/tests/AppStatsTest.php:247

Because for some reason the response headers are lowercase. So match the
"Link" header case insensitive.

Fixes issue #92

Errors found when running the tests locally:

  1) tests\AppStatsTest::testAppstatsPagination0
  Trying to get property 'items' of non-object

  /home/jdavid/sandboxes/Ably/ably-php/tests/AppStatsTest.php:247

Because for some reason the response headers are lowercase. So match the
"Link" header case insensitive.
@QuintinWillison QuintinWillison merged commit b31ce9d into main Feb 2, 2021
@QuintinWillison QuintinWillison deleted the fix92 branch February 2, 2021 17:07
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