Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobfilik committed Jul 11, 2024
1 parent f2c2633 commit 3caf563
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions xas-standards-api/tests/test_protected_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def get_admin_user():
"beamline_id": 1,
"sample_name": unique_sample_name,
"sample_prep": "test",
"sample_form": "foil",
"doi": "doi",
"citation": "citation",
"comments": "comments",
Expand Down
2 changes: 2 additions & 0 deletions xas-standards-api/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def build_test_database(session: Session):
sample_name="sample",
sample_prep="pellet",
sample_comp="H",
sample_form="foil",
beamline_id=1,
licence=LicenceType.cc_0,
id=1,
Expand All @@ -108,6 +109,7 @@ def build_test_database(session: Session):
sample_name="sample",
sample_prep="pellet",
sample_comp="He",
sample_form="pellet",
beamline_id=1,
licence=LicenceType.cc_0,
id=2,
Expand Down

0 comments on commit 3caf563

Please sign in to comment.