Skip to content
Snippets Groups Projects
Commit ddeb2736 authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-54: Fixing broken tests

parent 84ecc867
No related branches found
No related tags found
1 merge request!66GREG-54: Update column names
Pipeline #94118 passed
......@@ -449,7 +449,7 @@ def test_filter_active_includes_person_with_active_role(
type=role_type_test_guest,
end_date=date_today + datetime.timedelta(days=1),
sponsor_id=sponsor_guy,
unit_id=unit_foo,
orgunit_id=unit_foo,
)
url = reverse("v1:person-list")
......
......@@ -94,13 +94,13 @@ def test_add_multiple_roles_to_person(
role_with(
person=person,
type=role_type_foo,
unit=ou,
orgunit_id=ou,
sponsor_id=Sponsor.objects.create(feide_id="foosponsor@uio.no"),
)
role_with(
person=person,
type=role_type_bar,
unit=ou,
orgunit_id=ou,
sponsor_id=Sponsor.objects.create(feide_id="barsponsor@uio.no"),
)
assert person.roles.count() == 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment