Skip to content

Commit

Permalink
Test for searching signups by last name first and by first name first
Browse files Browse the repository at this point in the history
  • Loading branch information
jorilindell committed Aug 14, 2023
1 parent 70b3e53 commit e333b91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions registrations/tests/test_signup_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,13 @@ def test_filter_signups(
[signup5, signup6, signup7, signup8],
)

# search signups by name
# search signups by name (first name - last name)
get_list_and_assert_signups(
api_client, f"registration={registration2.id}&text=mickey", [signup8]
api_client, f"registration={registration2.id}&text=mickey m", [signup8]
)
# search signups by name (last name - first name)
get_list_and_assert_signups(
api_client, f"registration={registration2.id}&text=mouse m", [signup8]
)

# search signups by membership number
Expand Down

0 comments on commit e333b91

Please sign in to comment.