Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zubair-ce07 committed Sep 28, 2023
1 parent e2f64ab commit 57ab593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/dashboard/offers/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_site(self):
}
metadata_url = reverse('dashboard:offer-metadata')
response = self.client.post(metadata_url, metadata)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.status_code, 200)
self.assertEqual(response['Location'], reverse('dashboard:offer-benefit'))

# Ensure the Site ID is stored in the session
Expand Down
1 change: 1 addition & 0 deletions ecommerce/extensions/voucher/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ def test_report_for_inactive_coupons(self):
})
vouchers = create_vouchers(**self.data)
self.coupon_vouchers.first().vouchers.add(*vouchers)
print(self.coupon)
print(vouchers)
print(self.coupon_vouchers)

Expand Down

0 comments on commit 57ab593

Please sign in to comment.