Files
notifications-api/tests/app/authentication
Ben Thorner f5d2edaa0a Rewrite requires_admin_auth tests to be generic
This adds previously missing tests and changes the existing ones
to test the "requires_internal_auth" function directly. In order
to make the tests generic, we have a fake auth function and an
associated fixture.

Having generic tests for internal auth will make it easier to add
other "requires..." functions in future.
2021-08-03 15:58:24 +01:00
..