Commit Graph

15 Commits

Author SHA1 Message Date
8e22b0f6ea Updated fixtures. 2018-03-20 21:18:11 +01:00
9e145f7068 When testing we dont have api access so we create cache entries before each request. The cache key changed so this is now updated in the tests and tmdb. 2018-03-20 20:12:49 +01:00
7051edb212 Added unit tests for testing config file for correct values and if not check the env variables. 2018-03-20 19:25:35 +01:00
424cf0985d Added test for registering when user is already registered. 2018-03-19 15:43:00 +01:00
ed5d302820 Stricter when running test, now we wait until resetdatabase and createuser are done in in the before function before running the tests. 2018-03-19 15:27:11 +01:00
e27d5c7084 We use the db instance globally with establisheddatabase. 2018-03-19 15:23:54 +01:00
bd1e3c4455 Added test for checking popular shows list in tmdb. 2018-02-07 14:35:36 +01:00
30b494e356 The id used for searching was somehow not a movies id and returned false. 2018-02-07 14:20:34 +01:00
b037cb23a2 Updated test to reflect new tmdb response. 2018-02-07 14:16:45 +01:00
98b10aa693 Changed the api endpoint to one that requires to be logged in. 2018-02-07 14:15:10 +01:00
601440d540 Ok. I can explain this bug. It seems commenting out teardown in resetDatabase solves our issue that travis cannot find our teardown script eventough it outputs the exact path it should be at. Will come back to this as it seems it works everywhere else. Good night. 2017-12-21 01:00:47 +01:00
b4352ad721 Too many ; bro 2017-12-21 00:53:38 +01:00
2623649c5d Tried to re-add teardown and updated it to drop only tables that are in the database. Crossing fingers for a second pass. 2017-12-21 00:46:52 +01:00
908fca6dd0 Trying to remove teardown between tests. 2017-12-21 00:42:44 +01:00
99ddb61c37 Started by adding some system tests for the api. 2017-12-20 20:47:32 +01:00