sbkwgh
|
304c24cfa3
Allow get route for user without being logged in, update tests to reflect this
|
8 年之前 |
sbkwgh
|
bc1a741841
Add random color to user
|
8 年之前 |
sbkwgh
|
e61f80a449
Add express variable and check if app is already running in tests rather than waiting for the non-existent event
|
8 年之前 |
sbkwgh
|
29564c29a6
Use sequelize.sync rather than individual models
|
8 年之前 |
sbkwgh
|
fb72a38180
Fix test bugs and typos
|
8 年之前 |
sbkwgh
|
cff3e3c557
Add before hook until app starts up
|
8 年之前 |
sbkwgh
|
e7f51ef919
Add tests for admin accounts
|
8 年之前 |
sbkwgh
|
d7d7a2964f
Add test and update route to login in user (i.e. set the session variable) when creating account
|
8 年之前 |
sbkwgh
|
ba889de32d
Fix incorrect promise implementation - n.b. chai gives an error even though test is passing because the resource (correctly) returns a 403 forbidden error (perhaps a bug in chaijs)
|
8 年之前 |
sbkwgh
|
4f033e4c20
Use new http scheme for tests
|
8 年之前 |
sbkwgh
|
ea6b957e8f
Add tests for logging in/out
|
8 年之前 |
sbkwgh
|
a3ebeb8233
Fix typos like not changing status code, send json for types test
|
8 年之前 |
sbkwgh
|
a5736ebb37
Add chai-thing package, update/simplify tests
|
8 年之前 |
sbkwgh
|
52a69b7191
Fix wrong correct output for test
|
8 年之前 |
sbkwgh
|
1464287215
Add tests and corresponding errors for username and password fields
|
8 年之前 |
sbkwgh
|
2339a6f544
Add 2 tests for omission of username or password field
|
8 年之前 |
sbkwgh
|
c581c4f46e
Delete and recreate table after tests completed
|
8 年之前 |
sbkwgh
|
bb037679d8
Chang test so that it actually tests body (not other incorrect field
|
8 年之前 |
sbkwgh
|
7f6e8d181d
Add structure for sequelize and tests
|
8 年之前 |