We can copy the Square example: http://cgit.drupalcode.org/commerce_square/tree/tests/src/Kernel/SquareA...
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | add_a_kernel_test_for-2893828-5.patch | 7 KB | mglaman |
| #4 | add_a_kernel_test_for-2893828-4.patch | 6.36 KB | mglaman |
We can copy the Square example: http://cgit.drupalcode.org/commerce_square/tree/tests/src/Kernel/SquareA...
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | add_a_kernel_test_for-2893828-5.patch | 7 KB | mglaman |
| #4 | add_a_kernel_test_for-2893828-4.patch | 6.36 KB | mglaman |
Comments
Comment #2
bojanz commentedNonces you can use for testing: https://developers.braintreepayments.com/reference/general/testing/php
Comment #3
mglamanI can quickly knock this out, I wrote the Square tests.
Comment #4
mglamanInitial tests. The nonces for Braintree are for payment method verification. Otherwise, it's still price based.
Comment #5
mglamanI think this wraps up enough. We could expand to cover settlements.
Comment #6
mglamanw00t, DrupalCI GREEN!
Comment #8
mglamanNow we can have DrupalCI always run.