Correct the tests for customer list view

This commit is contained in:
Andreas Zweili 2023-03-11 17:50:32 +01:00
parent 2211aa7417
commit 48ec5b7ee4
1 changed files with 5 additions and 2 deletions

View File

@ -34,8 +34,11 @@ def test_customer_list_view(create_admin_user):
)
fixture = create_admin_user()
customer = fixture["customer"]
customer.project_manager = project_manager
customer.save()
customer.project_manager.set(
[
project_manager,
]
)
client = Client()
client.login(username="pharma-admin", password="password")
response = client.get("/")