Skip to content

Commit

Permalink
Marca como pago
Browse files Browse the repository at this point in the history
  • Loading branch information
matheuspdf committed May 11, 2024
1 parent 4e2eb6b commit fa8bdfd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eventex/subscriptions/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def test_message(self):
mock = self.call_action()
mock.assert_called_with(None, '1 inscrição foi marcada como paga.')

SubscriptionModelAdmin.message_user = old_message_user

def call_action(self):
queryset = Subscription.objects.all()

Expand All @@ -38,4 +36,4 @@ def call_action(self):

SubscriptionModelAdmin.message_user = old_message_user

return mock
return mock

0 comments on commit fa8bdfd

Please sign in to comment.