Closed
Bug 1039191
Opened 10 years ago
Closed 10 years ago
Automatically test the sample configuration during tests
Categories
(Hello (Loop) :: Server, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alexis+bugs, Assigned: rhubscher)
Details
(Whiteboard: [qa+])
Attachments
(1 file)
We should automatically test that the sample file is valid, by passing it to the config.js logic during the tests.
Updated•10 years ago
|
Whiteboard: [qa+]
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8474483 -
Flags: review?(alexis+bugs)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rhubscher
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
So https://github.com/mozilla-services/loop-server/pull/174 has been merged. Can this bug be considered Resolved/Fixed?
Assignee | ||
Comment 3•10 years ago
|
||
https://github.com/mozilla-services/loop-server/commit/6c911f44fe7e8aa762cd27aa27c9162e44f19a5f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8474483 [details] [review] Link to github PR Already reviewed and merged.
Attachment #8474483 -
Flags: review?(alexis+bugs) → review+
Comment 5•10 years ago
|
||
Yep. $ make test > mozilla-msisdn-gateway@0.5.0-DEV lint /Users/James/msisdn-gateway > eslint msisdn-gateway test tools [2014-08-19 18:13:58] INFO WEBrick 1.3.1 [2014-08-19 18:13:58] INFO ruby 2.0.0 (2014-02-24) [universal.x86_64-darwin13] == Sinatra/1.4.5 has taken the stage on 4567 for production with backup from WEBrick [2014-08-19 18:13:58] INFO WEBrick::HTTPServer#start: pid=1187 port=4567 Server listening on http://127.0.0.1:5000 config #validateKeys ✓ should throw an error if a key is missing ✓ should not throw if all keys are valid #hexKeyOfSize ✓ should check if all chars are hexadecimals ✓ should check the size of the given key sample.json ✓ should load. ...etc..
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•