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

Parameter and error tests #113

Merged
merged 4 commits into from Aug 11, 2023

Conversation

yasmin-aumeeruddy
Copy link
Contributor

Test query parameters and errors with the async tests

@yasmin-aumeeruddy yasmin-aumeeruddy force-pushed the parameter-and-error-tests branch 3 times, most recently from f6c3341 to 9e7ea72 Compare August 10, 2023 15:16
- Code review comments
- Change expected response code to Bad Request (400) so that we can
  distinguish between the expected error code and an error code
  generated by an unexpected exception
@Azquelt
Copy link
Member

Azquelt commented Aug 11, 2023

After checking with Yasmin, I've pushed up changes for the comments I raised.

@Azquelt
Copy link
Member

Azquelt commented Aug 11, 2023

I realised while I was testing that the arguments to assertEquals were the wrong way around in these tests, resulting in confusing error messages, so I've fixed those.

Copy link
Member

@Emily-Jiang Emily-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@Azquelt Azquelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy that I've resolved all the issues that I raised.

@Emily-Jiang Emily-Jiang merged commit bf4acd3 into eclipse:main Aug 11, 2023
3 checks passed
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.

None yet

3 participants