1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
Commit Graph

257 Commits

Author SHA1 Message Date
Sylvain
9f8fb1a95c fix tests + fix price.compute flor slots 2020-05-11 13:52:27 +02:00
Sylvain
5c7cac6bac tests for availability creation 2020-04-20 09:42:07 +02:00
Sylvain
f24d94b979 set correct invoicing_profile_id for refund invoice during wallet credit 2020-04-01 17:58:32 +02:00
Sylvain
f9837747f6 fix running tests 2020-03-30 10:59:11 +02:00
Du Peng
b3313d3e75 update rails to 5.1.7 2020-03-25 12:35:07 +01:00
Du Peng
9ca9425ef4 update to rails 5.0.7.2 2020-03-25 12:35:07 +01:00
Sylvain
02b16907aa fix test to match new specs 2020-03-03 18:01:43 +01:00
Sylvain
bb48a13f83 health endpoint & automated version check 2020-01-14 14:33:00 +01:00
Nicolas Florentin
db41e846dd uses DateTime#current instead of Time.now in tests 2019-12-02 15:29:05 +01:00
Sylvain
a12be41412 fix accounting export test according to new specs 2019-10-21 14:23:38 +02:00
Sylvain
a7a929ddbc integration unit test for imports + fixed import result colors in UI + fixed test fixtures 2019-10-01 14:32:30 +02:00
Sylvain
7f88e8f59f automated tests for accounting export 2019-09-20 17:40:27 +02:00
Sylvain
1fa36d4029 renamed avoir_mode to payment_method 2019-09-17 14:48:06 +02:00
Sylvain
d977838d52 fix tests according to changes for stripe SCA 2019-09-11 16:20:47 +02:00
Sylvain
4d0ac9b3ca using stp_payment_intent_id instead of stp_invoice_id on new invoices 2019-09-10 16:45:45 +02:00
Sylvain
92d79bc9c7 [bug] (#140) VAT rate is erronous in invoices 2019-08-14 10:54:23 +02:00
Sylvain
4c033614ae [ongoing] migrate subscriptions & reservations to statistic_profile 2019-06-04 16:50:23 +02:00
Sylvain
52992ac9d5 move gender & birthday to statistic_profile 2019-06-04 13:33:00 +02:00
Sylvain
9ef2f142bd link HistoryValue to InvoicingProfile + improved invoices tests 2019-06-03 16:51:43 +02:00
Sylvain
7ed97ef35a link wallet & its transactions to invoicingprofile 2019-06-03 16:00:09 +02:00
Sylvain
a211ad39ff moving organization & address to invoicingProfile + refactored doc about postgre 2019-05-29 14:28:14 +02:00
Sylvain
c8f6e377f7 adapt test to async archive generation 2019-04-04 12:06:57 +02:00
Sylvain
8a6ff0c093 prevent closing a period not in the past 2019-04-03 17:27:25 +02:00
Sylvain
722d5d36e7 check server-side that periods match length requirements + explain requirements to user before closing 2019-04-03 13:04:19 +02:00
Sylvain
7b0824a4a3 notify admins when no accounting period closed for 1 year 2019-03-18 14:33:30 +01:00
Sylvain
ccd63ecfe1 include zip archive into tests + fix: allow multiple runs of test suite 2019-03-18 12:09:54 +01:00
Sylvain
da672ea8b6 Merge branch 'dev' into host 2019-01-21 16:34:06 +01:00
Sylvain
62410da9e1 add test for member autocomplete 2019-01-21 11:49:35 +01:00
Sylvain
80aab9f17c fixed: create event with custom price 2019-01-21 11:26:42 +01:00
Sylvain
a1ba272538 Merge branch 'dev' into host 2019-01-14 13:00:24 +01:00
Sylvain
0927336956 fixed reservation after removing disable_invoicing + updated vcr cassettes 2019-01-14 12:45:17 +01:00
Sylvain
a2eb10331e [ongoing] remove invoicing disabled per user 2019-01-10 16:50:54 +01:00
Sylvain
1db5e76bc9 tests on accounting periods + force reload periods when opening periods/avoir modal 2019-01-10 15:12:22 +01:00
Sylvain
18454b362b test that generate refund in closed period is not available 2019-01-10 14:16:59 +01:00
Sylvain
d00dfad8d8 improved invoices test + added fixtures 2019-01-10 12:40:42 +01:00
Sylvain
56829190d6 refactored invoices controller 2019-01-09 12:07:31 +01:00
Sylvain
96e980e7b2 removed dead code + improved test suite 2018-12-27 14:53:11 +01:00
Sylvain
ed65976c41 [ongoing] save settings history 2018-12-17 16:02:02 +01:00
Sylvain
425927900a members tests 2018-12-17 10:43:57 +01:00
Sylvain
d01a93e0f0 [ongoing] members tests 2018-12-12 17:24:31 +01:00
Sylvain
ae9caef8af insertions on subscriptions count 2018-12-12 15:27:12 +01:00
Sylvain
811b7193f7 improved & fixed test suite 2018-12-12 13:49:14 +01:00
Sylvain
f2eaf4e4e1 improved tests and bug fixes 2018-12-11 17:27:25 +01:00
Sylvain
7822ab4572 [ongoing] fix reservation processes 2018-12-10 17:20:23 +01:00
Sylvain
bef3118649 [ongoing] refactor user.subscriptions to save history
TODO: - refactor subscription.save_with_payment (stripe)
- offer free days
- extend the subscription
- renew a subscription
- buy subscription + reservation
2018-12-06 18:26:01 +01:00
Sylvain
0b1ae3482e updated test suite to reflect elastic api upgrade + updated cassettes 2018-07-24 14:36:18 +02:00
Sylvain
2cbf2c3a79 add test for machine credits 2017-12-21 14:24:50 +01:00
Sylvain
563eee40fa add test for credits 2017-12-21 12:00:11 +01:00
Sylvain
72634162c6 [bug] unable to create training credit 2017-12-21 11:49:51 +01:00
Sylvain
34e8ffeffd test space availabilities api 2017-02-15 16:22:19 +01:00
Sylvain
df411b10b2 test wallet credit with refund invoice generation 2016-12-13 16:00:12 +01:00
Sylvain
5a1abe409a tests for price compute API 2016-12-12 16:44:56 +01:00
Sylvain
2a92b06ef6 test invoice with VAT 2016-12-01 12:12:44 +01:00
Sylvain
78002e66aa add comments about prices 2016-11-28 12:23:48 +01:00
Sylvain
7858d261c3 test event reservation with wallet + coupon 2016-11-28 11:50:16 +01:00
Sylvain
265ed3967c change events test architecture 2016-11-28 11:49:59 +01:00
Sylvain
c13f640e81 remove rails find_by_* helpers 2016-11-23 16:30:19 +01:00
Sylvain
0f8f1a14b4 add test for event reservation with custom price's category 2016-09-08 17:26:59 +02:00
Sylvain
d233297469 check coupon code server side + integration test for wrong copon 2016-09-08 15:19:12 +02:00
Sylvain
c6d9cbd88d add integration test for coupon 2016-09-08 14:26:21 +02:00
Sylvain
4f41aa6554 event custom prices: various fixes and removed artifacts 2016-08-30 13:07:47 +02:00
Sylvain
26aed7a1b5 ability for the admin to set custom settings for the reservation reminders + fix settings customization confirmation message 2016-08-17 12:49:52 +02:00
Sylvain
32d239f723 [Bug #28] Event type disappear when editing the event 2016-07-25 16:16:25 +02:00
Peng DU
8bebf6730f add more test for a reservation with plan and pay by wallet 2016-07-21 16:32:58 +02:00
Peng DU
909c204af5 show invoice download link in wallet transaction debit operator 2016-07-21 16:32:57 +02:00
Peng DU
85153c201e test invoice wallet amount 2016-07-21 16:32:56 +02:00
Peng DU
38fafb7a70 wallet credit amount can be a float 2016-07-21 16:32:55 +02:00
Peng DU
220676b4dc test user reservation/subscription with wallet 2016-07-21 16:32:55 +02:00
Peng DU
61273bd66f fix test 2016-07-21 16:32:55 +02:00
Peng DU
31d5c6d3b3 pay totalement/partialement reservation by wallet 2016-07-21 16:32:54 +02:00
Peng DU
fc7eaaab94 add notification and alert when user wallet credit 2016-07-21 16:32:54 +02:00
Peng DU
d0956bb0aa show wallet transactions of user 2016-07-21 16:32:54 +02:00
Peng DU
db8a6e8a32 application can show user wallet 2016-07-21 16:32:53 +02:00
Peng DU
beddae497a fix test user reservation without plan 2016-06-20 12:54:51 +02:00
Sylvain
c546dc45fb fix integration test: using ERB in cassette 2016-06-06 11:04:01 +02:00
Nicolas Florentin
93fc9722e9 fix tests regression, renaming fixture extension from .yml.erb to .yml 2016-06-03 10:10:13 +02:00
Sylvain
34648c7e9e event test 2016-04-13 18:33:43 +02:00
Sylvain
3016ac1e82 tests for availabilities 2016-04-13 17:26:17 +02:00
Sylvain
6f4e795d9f machine availabilities test 2016-04-13 15:19:57 +02:00
Sylvain
c0f57cc213 [ongoing] availability tests 2016-04-13 11:53:21 +02:00
Sylvain
02c72e55d9 test admins 2016-04-13 10:43:25 +02:00
Sylvain
59153f4298 test admin renew subscription 2016-04-12 15:09:47 +02:00
Sylvain
f9628b4989 prevent subscription creation/modification if card_token is invalid 2016-04-11 18:37:15 +02:00
Sylvain
31ee151809 reproductible tests for invoice generation 2016-04-11 15:31:25 +02:00
Nicolas Florentin
74e2d170bf adds integration test for reservations for user with invoicing disabled 2016-04-08 10:02:45 +02:00
Nicolas Florentin
a5067ff466 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-07 17:57:59 +02:00
Nicolas Florentin
7a523a1cf8 adds reservation integration test to test subscription extension when plan is_rolling true 2016-04-07 17:56:54 +02:00
Sylvain
e0dca6c744 [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
Nicolas Florentin
7748d601f8 uses users_credits/manager service in models reservation and subscription, and adds integration tests 2016-04-07 16:02:09 +02:00
Sylvain
b72609c072 test and validation from plan group 2016-04-07 12:28:25 +02:00
Nicolas Florentin
752f40a951 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 18:24:51 +02:00
Nicolas Florentin
f12646aaf9 adds integration tests for reservation 2016-04-06 18:23:32 +02:00
Sylvain
2a4ff82a15 test admin create subscription 2016-04-06 18:17:33 +02:00
Sylvain
5ed9090df8 completed subscription test for user 2016-04-06 17:10:15 +02:00
Sylvain
2e2f25ce47 fix D3 date format for test 2016-04-06 16:01:59 +02:00
Sylvain
43f076191c using VCR in subscription test 2016-04-06 15:57:27 +02:00
Sylvain
02febd458a Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 15:23:20 +02:00
Sylvain
baa692dfb9 fix subscription test 2016-04-06 15:23:13 +02:00
Nicolas Florentin
2cd1127a09 updates tests to use test helpers 2016-04-06 15:22:32 +02:00
Nicolas Florentin
23884bc2c5 Merge branch 'tests' of git.sleede.com:projets/fab-manager into tests 2016-04-06 15:15:14 +02:00
Nicolas Florentin
83d8bdf9b0 installs vcr and adds an integration test for reservation 2016-04-06 15:15:09 +02:00
Sylvain
150e58d47f test invalid abuse 2016-04-06 14:58:53 +02:00
Sylvain
773e87ecd4 abuses test 2016-04-06 14:45:39 +02:00
Sylvain
76c70b0ed4 basic subscription test 2016-04-06 11:27:56 +02:00
Nicolas Florentin
b6dcacaa8a updates tests to use fixtures 2016-04-05 12:28:42 +02:00
Nicolas Florentin
272400a889 adds a dummy integration test 2016-04-05 10:04:15 +02:00
cyril
d1450f65f6 release 2.0 rc 2016-03-23 18:39:41 +01:00