Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leodube-aot committed Oct 13, 2023
1 parent ee22f73 commit 8692b78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion legal-api/tests/unit/services/test_authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,8 +1082,8 @@ def mock_auth(one, two): # pylint: disable=unused-argument; mocks of library me
admin_freeze=True)
filing_types = get_allowed_filings(business, state, legal_type, jwt)
assert filing_types == expected



@pytest.mark.parametrize(
'test_name,state,legal_types,username,roles,filing_statuses,expected',
[
Expand Down Expand Up @@ -1414,6 +1414,7 @@ def mock_auth(one, two): # pylint: disable=unused-argument; mocks of library me
('staff_active_corps_valid_state_filing_fail', Business.State.ACTIVE, ['BC', 'BEN', 'CC', 'ULC'], 'staff',
[STAFF_ROLE], [None, 'restoration'], [None, 'fullRestoration'],
expected_lookup([FilingKey.ADMN_FRZE,
FilingKey.AGM_LOCATION_CHANGE,
FilingKey.ALTERATION,
FilingKey.AR_CORPS,
FilingKey.COA_CORPS,
Expand Down Expand Up @@ -1630,6 +1631,7 @@ def mock_auth(one, two): # pylint: disable=unused-argument; mocks of library me
('staff_active_corps_completed_filing_fail', Business.State.ACTIVE, ['BC', 'BEN', 'CC', 'ULC'], 'staff',
[STAFF_ROLE], [None, None], [None, None], [False, False],
expected_lookup([FilingKey.ADMN_FRZE,
FilingKey.AGM_LOCATION_CHANGE,
FilingKey.ALTERATION,
FilingKey.AR_CORPS,
FilingKey.COA_CORPS,
Expand Down

0 comments on commit 8692b78

Please sign in to comment.