Fixes #85.
First steps towards testing for the new admin endpoints.
Progress on the test. Need to fix the mock issues before making more progress.
merged in first pass at fixes from the event-admin branch.
Some minor cleanup.
Added switching to the mock admin user, depending on startup options.
Merged in the admin-mock fix. Doesn't quite work though.
Changed to modifying prototypes.
Merge branch 'mock-admin-fix' into event-admin-page
Wrangling to make mock-auth-admin work in a more sensible way. Passing the old tests again, but need to write new ones.
Merge branch 'mock-admin-fix' into event-admin-page
Switching over to the new mock setup generator. Still failing.
Infuriating bullshit, no idea why neither can I get an actual user object out of the mock user system, OR why I can't seem so successfully fake it.
Praise be unto allah, got this test to pass for once.
BOARD IS GREEN
Wrote two more tests, made sure they work.
Wrote the remaining tests. Board is green.