File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
test/integration/PaymentTypes Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,14 @@ class TwintTest extends BaseIntegrationTest
20
20
{
21
21
protected const testClass = Twint::class;
22
22
23
- protected function setUp (): void
24
- {
25
- $ this ->markTestSkipped ('Skipped by default as setup is missing for integration tests. ' );
26
- }
27
-
28
23
/**
29
24
* Verify twint can be created.
30
25
*
31
26
* @test
32
27
*/
33
28
public function typeShouldBeCreatableAndFetchable (): BasePaymentType
34
29
{
35
- $ paymentType = $ this ->unzer ->createPaymentType ($ this ->createTypeInstance ());
30
+ $ paymentType = $ this ->getUnzerObject () ->createPaymentType ($ this ->createTypeInstance ());
36
31
$ this ->assertInstanceOf (self ::testClass, $ paymentType );
37
32
$ this ->assertNotNull ($ paymentType ->getId ());
38
33
@@ -54,7 +49,7 @@ public function typeShouldBeCreatableAndFetchable(): BasePaymentType
54
49
*/
55
50
public function twintShouldBeAbleToCharge (BasePaymentType $ paymentType ): Charge
56
51
{
57
- $ charge = $ this ->unzer ->charge (100.0 , 'EUR ' , $ paymentType , self ::RETURN_URL );
52
+ $ charge = $ this ->unzer ->charge (100.0 , 'CHF ' , $ paymentType , self ::RETURN_URL );
58
53
$ this ->assertNotNull ($ charge );
59
54
$ this ->assertNotEmpty ($ charge ->getId ());
60
55
$ this ->assertNotEmpty ($ charge ->getRedirectUrl ());
You can’t perform that action at this time.
0 commit comments