Commit Graph

20 Commits

Author SHA1 Message Date
Roland Geider
0ce2b6efca Move URI generation to helper 2021-03-09 11:42:44 +01:00
Roland Geider
af5027b7ab Remove unneeded whitespace 2021-01-23 10:54:52 +01:00
Roland Geider
62926ae549 Refactor makeUrl
The object ID is an integer and there is now an objectMethod for special object
endpoints.
2021-01-22 23:11:52 +01:00
Roland Geider
26dafb7ccc Sort weight entries by date (newest first) 2021-01-19 11:48:26 +01:00
Roland Geider
696eb30c26 Use constants for HTTP headers 2021-01-19 11:32:58 +01:00
Roland Geider
fdc3996aed Fix base provider test 2020-12-28 18:27:59 +01:00
Roland Geider
44b6a80db8 Rename test file to be more consistent with the others 2020-12-28 12:36:53 +01:00
Roland Geider
7d78a77500 Refactor the base provider
The http client is now passed as a constructor argument and de-clutters all the
functions, while still allowing for mocking.
2020-12-27 12:51:40 +01:00
Roland Geider
8257153569 Fix body weight test 2020-12-27 12:21:08 +01:00
Roland Geider
33a3c71af0 Some work on makeUrl helper 2020-12-26 19:15:55 +01:00
Roland Geider
571e933281 Fix tests 2020-12-22 11:11:39 +01:00
Roland Geider
aed4beb0ab Delete empty dummy test 2020-12-06 17:15:15 +01:00
Roland Geider
1c9d0ab7f6 Add copyright notice to all files 2020-12-06 17:14:50 +01:00
Roland Geider
4c12607671 Add uncommited weight model test 2020-12-06 16:22:26 +01:00
Roland Geider
d510079055 Fix tests 2020-12-06 16:20:32 +01:00
Roland Geider
1d5e61552f Improvements to weight edit form 2020-12-06 14:55:41 +01:00
Roland Geider
9b41f0e72f Add auth screen widget test 2020-12-02 13:42:12 +01:00
Roland Geider
c9b6e16067 Add tests for the body weight provider 2020-12-01 21:59:17 +01:00
Roland Geider
c31021225f Make test pass
This doesn't test anything and is only used to check that the automatic tests work
2020-11-02 18:14:07 +01:00
Dylan Aird
85c0832398 first push 2020-09-12 20:25:00 +10:00