Skip to content

Commit

Permalink
Update get_configuration tests to test work without case sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
AimeeGao committed Jun 4, 2024
1 parent e644fe4 commit 4c8eb6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legal-api/tests/unit/resources/v2/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def test_get_configurations_with_single_filter_name(app, session, client, jwt):

def test_get_configurations_with_multiple_filter_names(app, session, client, jwt):
"""Assert that get results with multiple filter names are returned."""
filter_names = 'DISSOLUTIONS_SUMMARY_EMAIL, NUM_DISSOLUTIONS_ALLOWED'
expected_names = [name.strip() for name in filter_names.split(',') if name.strip()]
filter_names = 'DISSOLUTIONS_SUMMARY_EMAIL, NUM_DISSOLUTIONS_ALLOWED, dissolutions_on_hold'
expected_names = [name.strip().upper() for name in filter_names.split(',') if name.strip()]

# test
rv = client.get(f'/api/v2/admin/configurations?names={filter_names}',
Expand Down

0 comments on commit 4c8eb6d

Please sign in to comment.