tests: db seeding change
This commit is contained in:
parent
b8b5b6dbd3
commit
6f174deefc
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def _seed(db):
|
|||
status="approved", intake_questionnaire={"question_two": "answer two"}))
|
||||
db.add(Service(name="Test Service", api_key="123456789"))
|
||||
db.add(Permission(service_id=1, resource="test_resource", action="read"))
|
||||
db.add(Group(name="Test Group"))
|
||||
db.add(Group(name="Test Group", org_id=1))
|
||||
db.flush()
|
||||
group_model = db.get(Group, 1)
|
||||
perm_model = db.get(Permission, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue