Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed test for django 1.3

  • Loading branch information...
commit 9a8ecb97d83e1e8f5f3d3a3841e11a959fb3ccaf 1 parent 764f483
@alesdotio alesdotio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  shop/tests/payment.py
View
2  shop/tests/payment.py
@@ -208,7 +208,7 @@ def test_order_required_before_payment(self):
# User logged in (no order)
username = 'user'
pw = 'pass'
- User.objects.create_user(username=username, password=pw)
+ User.objects.create_user(username=username, password=pw, email='test@example.com')
logged_in = self.client.login(username=username, password=pw)
self.assertTrue(logged_in)
response = self.client.get(reverse('pay-on-delivery'))
Please sign in to comment.
Something went wrong with that request. Please try again.