Commit Graph
314 Commits
Author SHA1 Message Date
Raphael Michel 037aa7fc59 Improved tests
The tests should have been broken by 52906ab, but they weren't because
the tests were to tolerant.
2016-09-09 14:53:09 +02:00
Tobias Kunze 7e19effe3c Fix #122 -- Allow users to re-send order links (#197)
If the provided mail address has not ordered anything, there will still
be a mail generated and sent to an invalid mail address, to avoid
obvious timing attacks to determine active users.
2016-09-01 08:59:36 +02:00
Vishal Sodani 5346473f75 Fix #180 -- Hide add to cart button if no products active or no quantity left (#200)
* Hide add to cart button if no products active or no quantity left(#180)

* Fix PEP errors and improve logic

* Fix tests for add to cart change

* Fix the logic for toggling the visibility of Add to Cart button
2016-08-29 19:30:08 +02:00
Raphael Michel dadc4463fc Added more tests for voucher redemption 2016-08-15 23:00:44 +02:00
Raphael Michel 63b683096b Resolved two more edge cases in quota handling
Scenario 1) Blocking voucher is used in a CartPosition. Previously
too much was subtracted from the quota.

Scenario 2) When two quotas are assigned to a product and one of them
is sold out, blocking vouchers for the other quota should not enable to
buy the product.
2016-08-15 22:55:18 +02:00
Raphael Michel 1cb956d508 Added setting to disable order cancelling for users 2016-08-15 16:42:39 +02:00
Raphael Michel 3dfdfdf5d0 Check required vouchers at checkout 2016-08-15 16:10:38 +02:00
Raphael Michel a7fa63465d Added test to check that ordering is not possible after presale_end 2016-08-15 15:56:36 +02:00
Raphael Michel 42b9559b6f Removed selenium as a test dependency 2016-08-14 17:20:33 +02:00
Raphael Michel d8a84e762f Replaced first selenium tests with bs4 2016-08-14 12:15:57 +02:00
Raphael Michel f91c95b1bc Added products that require a voucher to be bought/shown 2016-07-28 19:52:07 +02:00
Raphael Michel 66bcbc785b FIxed broken test 2016-06-10 15:34:17 +02:00
Raphael Michel 09cee356b0 Allow for vouchers that are valid for multiple items 2016-05-04 17:50:19 +02:00
Raphael Michel 112a309a0e Fixed #106 -- added pay-what-you-want tickets 2016-03-24 18:01:09 +01:00
Raphael Michel 9fa063244b Refs #105 -- Added tests for voucher redemption 2016-03-24 15:46:49 +01:00
Raphael Michel cc77f4bc5c Adjusted a test to fit the last commit 2016-03-20 10:45:45 +01:00
Raphael Michel cd080e978c Added a basic test for the Event.live flag 2016-02-23 09:03:13 +01:00
Raphael Michel c28b40a118 Unit Tests should create enabled events 2016-02-23 08:58:39 +01:00
Raphael Michel f748752391 Removed multi-dimensional item variations [backwards-incompatible] 2015-12-13 15:03:56 +01:00
Raphael Michel d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel e70485e7fb Re-added the ability to restrict a product sale by time 2015-12-06 18:18:54 +01:00
Raphael Michel 4a1122a862 Fixed #108 -- Removed the restrictions system 2015-12-06 17:49:02 +01:00
Raphael Michel 97debe73ae Fixed variations with unlimited availability 2015-11-12 19:14:20 +01:00
Raphael Michel ecebe481d7 Rename "session" field to "cart_id" 2015-11-04 23:39:59 +01:00
Raphael Michel 232c42b265 Added an organizer overview page 2015-10-22 17:45:19 +02:00
Raphael Michel ae4d102288 Added tests for the checkoutflow module 2015-10-18 18:02:52 +02:00
Raphael Michel 3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel 974c5cee79 Moved property to the inside of items 2015-10-08 12:45:19 +02:00
Raphael Michel c4638a3402 Enabled asynchronous cart/order actions 2015-10-05 11:33:53 +02:00
Raphael Michel 4c6b292968 Refactored checkout steps 2015-10-05 11:24:00 +02:00
Raphael Michel 93d027cec6 Make all orders "guest orders" 2015-10-05 11:24:00 +02:00
Raphael Michel 109e18e891 Added unit tests for authentication forms 2015-09-29 01:00:54 +02:00
Raphael Michel d5e7ee8d8d Added a test for detecting inactive items in cart 2015-09-28 23:44:40 +02:00
Raphael Michel 803cfb446a Fixed a test that now requires login to be useful 2015-09-27 21:04:17 +02:00
Raphael Michel b8f1be8910 Swapped the names of two tests 2015-09-27 20:51:26 +02:00
Raphael Michel 37e00b805e Fixed cart creation after guest login 2015-09-27 19:41:36 +02:00
Raphael Michel 4e11a13f14 Fixed three unit tests 2015-09-27 19:06:36 +02:00
Raphael Michel 59e4b19e3f Fixed broken Unit Test 2015-09-17 22:57:39 +02:00
Raphael Michel 7def097dcd Refs #96 -- Completely removed local users 2015-09-17 00:55:00 +02:00
Raphael Michel 0903990510 Adjusted tests 2015-09-16 11:56:09 +02:00
Raphael Michel 4bd8945432 Added a few more tests 2015-08-28 18:16:11 +02:00
Raphael Michel 56961337ae Refs #85 -- Do not sell tickets that are marked as inactive 2015-08-13 11:58:47 +02:00
Raphael Michel 36430f3b9a Fixed tests that did not set a default_price on items 2015-07-26 17:07:31 +02:00
Raphael Michel e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel 1f08dfda5c Resolved flake8 warnings 2015-06-28 17:02:12 +02:00
Raphael Michel 75b8d800ea Added tests for modifying and cancelling orders 2015-06-28 16:21:39 +02:00
Raphael Michel 1faee34c93 Added unit tests for the new account settings form 2015-06-26 15:52:11 +02:00
Raphael Michel 6ec516a83a Fixed tests that got broken in bef9e05 2015-06-23 20:52:31 +02:00
Raphael Michel 32a9d9709b Fixed the locale setting test 2015-06-18 14:15:49 +02:00
Raphael Michel bbab56b6f6 Added tests for locale settings 2015-06-16 20:09:41 +02:00