Historie revizí

Autor SHA1 Zpráva Datum
  sbkwgh e61f80a449 Add express variable and check if app is already running in tests rather than waiting for the non-existent event před 8 roky
  sbkwgh 29564c29a6 Use sequelize.sync rather than individual models před 8 roky
  sbkwgh fb72a38180 Fix test bugs and typos před 8 roky
  sbkwgh cff3e3c557 Add before hook until app starts up před 8 roky
  sbkwgh e7f51ef919 Add tests for admin accounts před 8 roky
  sbkwgh d7d7a2964f Add test and update route to login in user (i.e. set the session variable) when creating account před 8 roky
  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) před 8 roky
  sbkwgh 4f033e4c20 Use new http scheme for tests před 8 roky
  sbkwgh ea6b957e8f Add tests for logging in/out před 8 roky
  sbkwgh a3ebeb8233 Fix typos like not changing status code, send json for types test před 8 roky
  sbkwgh a5736ebb37 Add chai-thing package, update/simplify tests před 8 roky
  sbkwgh 52a69b7191 Fix wrong correct output for test před 8 roky
  sbkwgh 1464287215 Add tests and corresponding errors for username and password fields před 8 roky
  sbkwgh 2339a6f544 Add 2 tests for omission of username or password field před 8 roky
  sbkwgh c581c4f46e Delete and recreate table after tests completed před 8 roky
  sbkwgh bb037679d8 Chang test so that it actually tests body (not other incorrect field před 8 roky
  sbkwgh 7f6e8d181d Add structure for sequelize and tests před 8 roky