Closed Bug 877772 Opened 11 years ago Closed 11 years ago

Separate out MakeAPI from lib/project into a middleware step

Categories

(Webmaker Graveyard :: Popcorn Maker, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cade, Assigned: mjschranz)

References

Details

Attachments

(1 file)

The MakeAPI is killing some of the cornfield tests. There are two ways to fix this.

1. Fake it in the tests using webFaker
2. Make the use of it optional, similar to metrics, but a little more complex since it's not just a Fire and Forget API.
Changing direction of ticket now that we have done a lot of big server rewrites.

After this we can then redo all of the cornfield tests!
Assignee: chris → schranz.m
Summary: MakeAPI is killing unit tests → Separate out MakeAPI from lib/project into a middleware step
Blocks: 878969
Quick first crack at this.
Attachment #768126 - Flags: review?(jon)
Comment on attachment 768126 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/80

I'm not opposed to switching up the order that this is taking place to go MakeAPI -> Project Create/Update.
Attachment #768126 - Flags: review?(jon) → review?(scott)
Comment on attachment 768126 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/80

A nit and some commented out code needs to be removed.

I wonder if Cade wants to take a quick look at this as he filed it? Your call. 

R+ with those fixes.
Attachment #768126 - Flags: review?(scott) → review-
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: