Skip to content

Commit

Permalink
Merge pull request #22 from SamuelDudley/master-tests
Browse files Browse the repository at this point in the history
test: Fixed failing test. Currently all tests passing
  • Loading branch information
maxolasersquad committed Dec 8, 2015
2 parents e940c0d + 39d71ee commit 0aea4b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions register/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def test_paid_tender_ends_transaction(self):
def test_transaction_totals_with_canceled_item(self):
self.transaction.create_line_item(self.grocery, 1)
self.transaction.create_line_item(self.grocery, 1).cancel()
transaction_total = self.transaction.get_totals()
self.assertEqual(transaction_total.total, Decimal('50.18'))
self.assertEqual(transaction_total.tax_total, Decimal('3.28'))
self.assertEqual(transaction_total.total, Decimal('50.18'))
Expand Down

0 comments on commit 0aea4b0

Please sign in to comment.