Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

WIP #151 - Add proper tests for http response codes #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HcsOmot
Copy link
Collaborator

@HcsOmot HcsOmot commented Dec 19, 2017

When making an API call without needed parameters
Backend will raise a DomainException
And HTTP response should have a corresponding response code

This will add behat tests for NoEventsToRaffleException which should cause HTTP 400 response

Closes #151

@HcsOmot HcsOmot requested a review from msvrtan December 19, 2017 16:20
@msvrtan
Copy link
Contributor

msvrtan commented Dec 30, 2017

Just checking @HcsOmot , this is still work in progress?

@HcsOmot
Copy link
Collaborator Author

HcsOmot commented Dec 30, 2017

@msvrtan yes, it's still WIP, sorry it's taking so long. Please give me a few more days.

@HcsOmot HcsOmot force-pushed the 151-proper-tests-for-http-response-codes branch 2 times, most recently from f5f25b7 to 12d6644 Compare January 3, 2018 16:52
- match NoEventsToRaffleException to HTTP response status 400
@HcsOmot HcsOmot force-pushed the 151-proper-tests-for-http-response-codes branch from 12d6644 to f553d32 Compare January 3, 2018 18:24
@msvrtan msvrtan changed the title #151 - Add proper tests for http response codes WIP #151 - Add proper tests for http response codes Jan 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants