Skip to content

Commit 6b61cb0

Browse files
committed
Fix failing test
1 parent 40c52d1 commit 6b61cb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

squarelet/organizations/tests/test_views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,7 @@ def test_post_staff_updates_subscription_creates_action(
934934
mocker.patch("squarelet.organizations.models.Customer.card", None)
935935
mocker.patch("squarelet.organizations.models.Organization.set_subscription")
936936
staff_member = user_factory(is_staff=True)
937+
staff_member = _assign_org_perm(staff_member, "can_edit_subscription")
937938
organization = organization_factory()
938939
data = {
939940
"stripe_token": "token",

0 commit comments

Comments
 (0)