aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-02-16 12:24:23 +0300
committerFrederick Muriuki Muriithi2023-02-21 16:24:30 +0300
commit08e8e36e256d1893967c98b366395279b39c1e72 (patch)
treeb5784f9cf52bfdf9e8c64b7fcab4189fc5b4bb16 /tests
parent283e7f08701ed80cdfeb8773df38c0c30227a10c (diff)
downloadgenenetwork3-08e8e36e256d1893967c98b366395279b39c1e72.tar.gz
auth: migrations: Link to data in main db
Provide the `linked_group_data` table to be used to link to data in the main database. Update the `mrna_resources`, `genotype_resources` and `phenotype_resources` tables to rely on the `linked_group_data` table.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/auth/test_migrations_create_tables.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/auth/test_migrations_create_tables.py b/tests/unit/auth/test_migrations_create_tables.py
index 98022eb..ef192f4 100644
--- a/tests/unit/auth/test_migrations_create_tables.py
+++ b/tests/unit/auth/test_migrations_create_tables.py
@@ -32,7 +32,8 @@ migrations_and_tables = (
("20221219_03_PcTrb-create-authorisation-code-table.py",
"authorisation_code"),
("20230207_01_r0bkZ-create-group-join-requests-table.py",
- "group_join_requests"))
+ "group_join_requests"),
+ ("20230216_01_dgWjv-create-linked-group-data-table.py", "linked_group_data"))
@pytest.mark.unit_test
@pytest.mark.parametrize("migration_file,the_table", migrations_and_tables)