Closed Bug 1000342 Opened 10 years ago Closed 10 years ago

Fix events service tests

Categories

(Webmaker Graveyard :: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kate, Assigned: kate)

References

Details

(Whiteboard: [events] [tech-debt] [july25])

Attachments

(1 file)

They really need to be fixed. We need auth mocks etc.
is this still needed? if so, which train?
Flags: needinfo?(kate)
Whiteboard: [events] [june27]
Flags: needinfo?(kate)
Whiteboard: [events] [june27] → [events] [tech-debt]
Whiteboard: [events] [tech-debt] → [events] [tech-debt] [july25]
Status: NEW → ASSIGNED
Assignee: kate → nobody
Assignee: nobody → gavin
* Gavin: what train should this be on, you think?
Flags: needinfo?(gavin)
Possibly this one. I think Kate made some progress here so I'm going to assign to her. Kate, feel free to punt to next sprint if you need to!
Assignee: gavin → kate
Flags: needinfo?(gavin)
Comment on attachment 8459820 [details] [review]
https://github.com/mozilla/webmaker-events-service/pull/81

LGTM other than a few nits and you need to run grunt clean to pass Travis.

I kind of think we should file a ticket to flesh out some of those tests like "should return events from GET /events" to actually look at the response and validate the JSON somewhat instead of just looking at the status code. Seems like you could get a false positive there...
Attachment #8459820 - Flags: review?(gavin) → review+
Comment on attachment 8459820 [details] [review]
https://github.com/mozilla/webmaker-events-service/pull/81

I had to fix up a few more things -- changing the signature in processes, as well as making sure the db could be synced before any tests ran
Attachment #8459820 - Flags: review+ → review?(gavin)
Also I totally agree that more tests need to be written, I will file some tickets about that now
Comment on attachment 8459820 [details] [review]
https://github.com/mozilla/webmaker-events-service/pull/81

could use a second pair of eyes on this actually
Attachment #8459820 - Flags: feedback?(cade)
Comment on attachment 8459820 [details] [review]
https://github.com/mozilla/webmaker-events-service/pull/81

There's a few path problems to fix in /processes

Other than that, this looks fine
Attachment #8459820 - Flags: feedback?(cade) → feedback+
Attachment #8459820 - Flags: review?(gavin)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: