Skip to content

Commit

Permalink
Fix test to actually add owner correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
michelletran-codecov committed Nov 1, 2024
1 parent 3d79ee1 commit 0bc5aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/tests/unit/test_github_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_get_installation_name_for_owner_for_task(dbsession: Session):
installation_name="my_installation",
task_name=task_name,
)
dbsession.add_all([owner, installation_task_config])
dbsession.add_all([owner, other_owner, installation_task_config])
dbsession.flush()
assert (
get_installation_name_for_owner_for_task(task_name, owner) == "my_installation"
Expand Down

0 comments on commit 0bc5aab

Please sign in to comment.