Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding tests for getAll method #73

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

roberto-butti
Copy link
Collaborator

  • adding tests for getAll method
  • fix some edge cases thanks to the tests

Pull request type

Jira Link: INT-

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Other (please describe): added test case (integration tests)

How to test this PR

execute composer all-check

What is the new behavior?

The getAll returned value is more aligned with the js client (an array of items).
With the third parameter, you can retrieve all the responses instead of the entries.

Other information

- adding tests for getAll method
- fix some edge cases thanks to the tests
@roberto-butti roberto-butti merged commit 15f3c2f into storyblok:master Dec 16, 2022
@roberto-butti roberto-butti deleted the fix/getall branch December 16, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant