Skip to content

Commit

Permalink
Test acl for eval with multiple recipients
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault committed Aug 22, 2023
1 parent 4585496 commit 2b70e20
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions envergo/evaluations/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,12 @@ def test_dashboard_displays_empty_messages(user, client):


def test_dashboard_lists_requests_and_evals(user, client):
RequestFactory.create_batch(7, contact_emails=[user.email])
EvaluationFactory.create_batch(11, contact_emails=[user.email])
RequestFactory.create_batch(
7, contact_emails=[user.email, "someoneelse@example.com"]
)
EvaluationFactory.create_batch(
11, contact_emails=[user.email, "someoneelse@example.com"]
)

dashboard_url = reverse("dashboard")
client.force_login(user)
Expand Down

0 comments on commit 2b70e20

Please sign in to comment.