1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
Sylvain
66ba8e565c Full test coverage of the OpenAPI
Also: fix related bugs
2021-06-28 09:50:37 +02:00
Sylvain
7ba2d58f50 update VCR to 6.0.0
Also: - updated cassettes
- Automated stripe secrets filtering in cassettes
- Improved display when no plan-categories exists
2021-06-11 14:29:30 +02:00
Sylvain
66f81a975e WIP: array of items
Migration from cart_items:{reservation:{}, subscription:{}, ...}
to cart_items:{items:[{reservation:{}, ...}], ...}
2021-05-19 18:12:52 +02:00
Sylvain
343b2f7d23 refactor code related to archiving 2021-04-16 10:34:02 +02:00
Sylvain
ccff463165 test subscription with schedule by user 2020-12-15 15:48:13 +01:00
Sylvain
82d6677cff read stripe_api_key from db 2020-06-10 11:33:03 +02:00
Sylvain
f9837747f6 fix running tests 2020-03-30 10:59:11 +02:00
Du Peng
9ca9425ef4 update to rails 5.0.7.2 2020-03-25 12:35:07 +01:00
Nicolas Florentin
db41e846dd uses DateTime#current instead of Time.now in tests 2019-12-02 15:29:05 +01: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
d977838d52 fix tests according to changes for stripe SCA 2019-09-11 16:20:47 +02:00
Sylvain
92d79bc9c7 [bug] (#140) VAT rate is erronous in invoices 2019-08-14 10:54:23 +02:00
Sylvain
35c31b96ea fix vat history usage in invoice test + fix sidekiq delay extension 2019-08-01 11:50:03 +02:00
Sylvain
1135a68682 tests must check that invoice PDF is using the invoicing_profile infos 2019-06-03 14:17:37 +02:00
Sylvain
0ec009e80c fix test helper stripe_card_token + updated cassettes 2019-05-27 11:52:28 +02:00
Sylvain
c8f6e377f7 adapt test to async archive generation 2019-04-04 12:06:57 +02:00
Sylvain
6b18775578 fix syntax according to linter 2019-04-04 11:57:36 +02: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
a5b718d981 fix tests with invoices 2017-12-14 15:52:34 +01:00
Sylvain
4c68f815e7 added coveralls 2016-12-01 13:08:41 +01:00
Sylvain
2a92b06ef6 test invoice with VAT 2016-12-01 12:12:44 +01:00
Sylvain
cf1c868546 test suite is now testing pdf files content 2016-12-01 11:37:09 +01:00
Sylvain
4d2f46ca95 [feature] Async statistics export to XLSX
- fix tests due to removal of event_categories
- rake task for generating statistics
2016-07-27 11:28:54 +02:00
Sylvain
31ee151809 reproductible tests for invoice generation 2016-04-11 15:31:25 +02:00
Nicolas Florentin
9bfd5e0362 removes block from Sidekiq::Testing setup in test_helper unless tests don't pass anymore 2016-04-07 18:05:23 +02:00
Sylvain
e0dca6c744 [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
Nicolas Florentin
f334f76ef8 improves stripe_card_token test helper 2016-04-06 16:26:45 +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
76c70b0ed4 basic subscription test 2016-04-06 11:27:56 +02:00
Nicolas Florentin
4a1c67c8d5 adds method to parse json reponse 2016-04-05 09:51:12 +02:00
Nicolas Florentin
fafec2153c setup test environment and add the first test 2016-04-04 17:42:45 +02:00
cyril
d1450f65f6 release 2.0 rc 2016-03-23 18:39:41 +01:00