Commit graph

166 commits

Author SHA1 Message Date
Emili Castells Guasch
0ed05ac1ea
Fix phpunit 2025-08-06 14:03:37 +02:00
Emili Castells Guasch
e11f3c2a9a
Merge trunk 2025-07-14 12:22:49 +02:00
Himad M
8021974416
Enable AppSwitch on ppcp-button module 2025-07-03 22:49:30 -04:00
Daniel Dudzic
c54f82ea94
🧪 Update OrderFactoryTest to support consolidated factory method 2025-07-03 10:16:58 +02:00
Daniel Dudzic
fb0499ec7c
🧪 Remove failing no_status test case from OrderFactoryTest 2025-07-01 12:49:14 +02:00
Emili Castells Guasch
8f6f5c0c35
Merge trunk 2025-06-23 10:56:29 +02:00
Alex P.
6691ee5a21
Use shipping callback 2025-06-20 10:43:52 +03:00
Alex P.
a397d7d9fa
Add CallbackConfig 2025-06-19 09:23:41 +03:00
Philipp Stracker
fb079bc456
Test the contact preference factory class 2025-06-13 17:11:17 +02:00
Philipp Stracker
eab748536b
Test the context builder pattern 2025-06-13 17:10:53 +02:00
Philipp Stracker
a51da614b7
Test new contact_preference property 2025-06-13 16:56:11 +02:00
Emili Castells
12df58b31c
Merge pull request #3431 from woocommerce/PCP-4655-experience-context
Use experience_context
2025-06-02 11:46:43 +02:00
Alex P.
05690d1ef6
Add test 2025-06-02 10:50:21 +03:00
Alex P.
2a033d3f5f
Add tests 2025-06-02 10:04:23 +03:00
Alex P.
da45fb1baf
Remove ApplicationContext 2025-05-29 19:49:43 +03:00
Alex P.
7ea562c697
Simplify log call 2025-05-29 09:11:22 +03:00
Alex P.
25ad33c679
Remove unused class 2025-05-28 20:58:18 +03:00
Emili Castells Guasch
b3f5fb7473
Remove partner referrals tests for now 2025-05-27 16:20:50 +02:00
Philipp Stracker
cb6fa6eb9f
Fix “data structure with flags” tests
Following default assuptions changed:

1. The "BILLING_AGREEMENT” feature is always sent
2. The “PAYPAL_WALLET_VAULTING_ADVANCED” flag only depends on the ACDC eligbility (not subscription-opt-in)
2025-05-23 18:08:29 +02:00
Philipp Stracker
652e001161
🎨 Apply code style to unit tests 2025-05-23 18:02:08 +02:00
Philipp Stracker
c236225105
Pass “data structure” test
New default is, that the structure always contains

- feature BILLING_AGREEMENT
- capability PAYPAL_WALLET_VAULTING_ADVANCED

The new capability only depends on the shop country.
2025-05-23 18:00:52 +02:00
Philipp Stracker
383d907866
🔀 Merge branch 'trunk' 2025-03-24 17:45:03 +01:00
Philipp Stracker
ed3c6799d0
♻️ Update tests to use the new Enum 2025-03-21 18:16:41 +01:00
Narek Zakarian
af44af2818
Use the constant in tests 2025-03-21 19:15:21 +04:00
Narek Zakarian
55c19d6173
🚨 Fix the test 2025-03-21 18:03:58 +04:00
Narek Zakarian
9eda2ccc35
Add the tests 2025-03-21 18:03:58 +04:00
Narek Zakarian
299cc0f85f
Fix the tests 2025-03-19 18:36:11 +04:00
Narek Zakarian
159dfeb5cb
Fix tests 2025-03-11 19:44:50 +04:00
Philipp Stracker
4a7316b6c1
🧪 Verify the ppcpToken via unit tests 2025-03-05 17:51:51 +01:00
Philipp Stracker
42986980f6
🧪 Adjust tests to meet PayPal API requirements 2025-03-05 17:26:00 +01:00
Philipp Stracker
ac34da21e9
🧪 Add failing tests to validate the card-flag 2025-03-05 16:51:03 +01:00
Philipp Stracker
b24242bf1c
♻️ Refactor unit test 2025-03-05 16:50:00 +01:00
Philipp Stracker
ef76ddbbfa
🧪 Add failing tests before implementing new flag 2025-03-05 16:38:25 +01:00
Philipp Stracker
5bfb5c320a
♻️ Refactor the unit test 2025-03-05 16:37:46 +01:00
Philipp Stracker
d1ee75b659
🧪 Update tests to prepare firs refactoring 2025-03-05 15:12:22 +01:00
Philipp Stracker
d1437d1728
🧪 New test case to ensure API data is stable
Helps to confirm onboarding data stays correct before changing the API class.
2025-03-05 14:53:57 +01:00
carmenmaymo
2387902a18
Change UK to GB 2025-01-31 10:46:16 +01:00
Daniel Hüsken
fd7bc2614a
fix unit tests 2024-11-25 15:54:48 +01:00
Alex P.
17b3ed8b41
Fix test 2024-11-06 09:22:34 +02:00
Emili Castells Guasch
5e803643cb Fix phpunit 2024-10-18 17:36:54 +02:00
Alex P
8b94dda4d6
Fix tests 2024-10-03 10:40:37 +03:00
Emili Castells Guasch
b6125a59c3 Add test for PayPal api exception friendly message 2024-04-18 11:42:40 +02:00
Daniel Dudzic
811c921b41
Update the testFromWcOrderMaxStringLength() test to match the new title sanitization and trimming 2024-03-11 20:54:07 +01:00
Narek Zakarian
c3ae6ad8a6
Fix the tests 2024-01-31 16:51:33 +04:00
Emili Castells Guasch
8fafff915d Fix phpunit 2023-11-27 11:04:40 +01:00
Emili Castells Guasch
9f41d5c874 Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-10-25 11:21:28 +02:00
Emili Castells Guasch
db9852b535 Fix phpunit 2023-10-24 12:02:24 +02:00
Emili Castells Guasch
f47d7cec18 Remove payee from purchase units 2023-10-24 11:49:43 +02:00
Emili Castells Guasch
b6734a82da Fix phpunit 2023-10-20 15:16:30 +02:00
Emili Castells Guasch
8256c9f729 Fix phpunit 2023-10-18 17:15:27 +02:00