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

type_id parameter on getCases will only return the cases for the last value in the array #22

Open
jhudson-mercari opened this issue Jun 15, 2023 · 0 comments

Comments

@jhudson-mercari
Copy link

jhudson-mercari commented Jun 15, 2023

Actual behavior

When calling getCases() with the type_id parameter supplied, it will only return cases from the last ID in the array.

For example, calling getCases(projectId, { type_id: [9, 14, 23] }) will only return cases for type_id 23. If you move the IDs around in the array, it consistently returns only the test cases for the last value in the array.

Using curl to call the get_cases endpoint does not have this issue.

Expected behavior

Calls to getCases with more than one type ID in the type_id array should return cases for all the types

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

No branches or pull requests

1 participant