Commit Graph

6 Commits

Author SHA1 Message Date
4f622923fd Fix the list related tests to change the updatable list back
Otherwise every odd number of test runs, there will be a change
in test/lists/updatable.list for Git.
2018-01-01 22:17:56 +01:00
3251d098bd Add tests for the static file handler 2018-01-01 21:16:55 +01:00
8863b87c4e Add tests for the home handler 2018-01-01 21:16:47 +01:00
e98324e3fe Move the tests for the list handlers to the right module
Also improve and expand the tests abit.  Use serde_json to parse the
results an interpret them instead on depending on response body string
matching (which fails for changing mtimes of the test files).
2018-01-01 21:15:30 +01:00
f65fde7378 Move the List struct to a modules submodule
Move the state type ListStore back to main.rs, it is used for
a global state object (like a DB connection, etc.)
2017-12-30 22:23:16 +01:00
38801c5625 Split the handlers off into a handler submodules
Also move the list handlers to a separate mount point.
2017-12-30 22:06:48 +01:00