Commit 1665a445 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

controller/tests: The DB used for auth must be test DB.

Since auth is initialised at the beginning it doesn't benefit from the change of the DB.
Therefore it was modifying the original DB rather than working on the test DB.
parent 12b08764
......@@ -61,6 +61,7 @@ for tablename in db.tables: # Copy tables!
test_db.define_table(tablename, *table_copy)
db = test_db
auth.db = test_db
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment