carmenmaymo
4426fc6e13
Add vaulting transaction test
2025-07-09 10:55:13 +02:00
carmenmaymo
a9166d0b0c
Add OXXO transaction success and failing tests
2025-07-07 15:36:15 +02:00
Narek Zakarian
b86f62e852
Refactor the service name, variable names to use the new class
2025-06-30 16:45:36 +04:00
Narek Zakarian
0a0d7e9c49
Refactor/rename the reference transaction enabled checking class.
2025-06-30 16:08:36 +04:00
Narek Zakarian
40a95202ec
Move the reference transaction enabled check into helpers.
...
With the 1st step we will move the class into helpers. The next step would be to refactor/rename it.
2025-06-30 16:05:40 +04:00
carmenmaymo
4accd33e1f
Pass code style
2025-06-26 10:37:27 +02:00
carmenmaymo
2280cf9081
Fix vaulting integration credit card test
2025-06-26 09:38:27 +02:00
carmenmaymo
846a77d144
Throw if the product cannot be found
2025-06-26 09:10:37 +02:00
carmenmaymo
e2c6dc350d
Create simple product if subs plugin is not there
2025-06-26 09:05:32 +02:00
carmenmaymo
c556db358a
Create subscription products /w props
2025-06-25 16:00:22 +02:00
carmenmaymo
e8a0950bfa
Update vaulting subscription tests
2025-06-25 14:11:09 +02:00
carmenmaymo
f7f0f0f11f
Add credit card test /w multiple products
2025-06-25 14:10:30 +02:00
carmenmaymo
0284e38e0c
Add test factories and traits for integration tests
...
- Add ProductFactory, OrderFactory, and CouponFactory
- Add CreateTestOrders and CreateTestProducts traits for reusable test setup
- Add ProductPresets and DiscountPresets fixtures
- Implement existence checks to prevent duplicate product/coupon creation
2025-06-23 15:03:31 +02:00
carmenmaymo
d234f2f861
Make Mockery more lenient like PHPUnit mocks with shouldIgnoreMissing()
2025-06-20 12:14:21 +02:00
carmenmaymo
03743771d7
Use mockery and fix tests
2025-06-19 11:40:00 +02:00
carmenmaymo
eea6a0982c
Remove unused and skip tests
2025-06-02 14:50:27 +02:00
carmenmaymo
c8b6f30fea
Fix condition
2025-06-02 14:49:46 +02:00
carmenmaymo
5e53f9dace
Add vaulting subscriptions tests
2025-05-28 09:33:02 +02:00
carmenmaymo
ec8b6baf70
Remove status completed in mock
2025-05-19 08:00:13 +02:00
carmenmaymo
b342d7b226
test: Add tests for PayPal Subscriptions renewal handling
...
scenarios:
- Preventing duplicate renewals for recent subscriptions
- Creating renewal orders for subscriptions older than 8 hours
- Handling subscriptions with explicit renewal meta
- Ensuring payment methods are correctly transferred to renewal orders
- Verifying transaction IDs are properly set on orders
- Managing subscription status transitions during renewal
- Handling edge cases like missing parent orders and empty subscription arrays
2025-05-12 19:01:40 +02:00
Emili Castells Guasch
eeea68cb57
Remove settings purge in test
2025-03-21 12:17:25 +01:00
Emili Castells Guasch
ad6ff3b471
Extract installation path persistence to service
2025-03-21 12:10:45 +01:00
Emili Castells Guasch
73d3e3c642
Remove test
2025-03-17 17:44:09 +01:00
Emili Castells Guasch
60fad34e7a
Add group to skip tests in ci
2025-03-17 17:27:24 +01:00
Emili Castells Guasch
129eec6baa
Rename e2e to integration
2025-03-12 18:14:01 +01:00