9
9
use Incenteev \AsyncAmazonIncentives \Input \CancelGiftCardRequest ;
10
10
use Incenteev \AsyncAmazonIncentives \Input \CreateGiftCardRequest ;
11
11
use Incenteev \AsyncAmazonIncentives \Input \GetAvailableFundsRequest ;
12
+ use Incenteev \AsyncAmazonIncentives \Region ;
12
13
use Incenteev \AsyncAmazonIncentives \Result \CancelGiftCardResponse ;
13
14
use Incenteev \AsyncAmazonIncentives \Result \CreateGiftCardResponse ;
14
15
use Incenteev \AsyncAmazonIncentives \Result \GetAvailableFundsResponse ;
@@ -19,7 +20,7 @@ class AmazonIncentivesClientTest extends TestCase
19
20
{
20
21
public function testCancelGiftCard (): void
21
22
{
22
- $ client = new AmazonIncentivesClient (['region ' => ' eu ' ], new NullProvider (), new MockHttpClient ());
23
+ $ client = new AmazonIncentivesClient (['region ' => Region:: EUROPE_AND_ASIA_SANDBOX ], new NullProvider (), new MockHttpClient ());
23
24
24
25
$ input = new CancelGiftCardRequest ([
25
26
'creationRequestId ' => 'change me ' ,
@@ -34,7 +35,7 @@ public function testCancelGiftCard(): void
34
35
35
36
public function testCreateGiftCard (): void
36
37
{
37
- $ client = new AmazonIncentivesClient (['region ' => ' eu ' ], new NullProvider (), new MockHttpClient ());
38
+ $ client = new AmazonIncentivesClient (['region ' => Region:: EUROPE_AND_ASIA_SANDBOX ], new NullProvider (), new MockHttpClient ());
38
39
39
40
$ input = new CreateGiftCardRequest ([
40
41
'creationRequestId ' => 'change me ' ,
@@ -52,7 +53,7 @@ public function testCreateGiftCard(): void
52
53
53
54
public function testGetAvailableFunds (): void
54
55
{
55
- $ client = new AmazonIncentivesClient (['region ' => ' eu ' ], new NullProvider (), new MockHttpClient ());
56
+ $ client = new AmazonIncentivesClient (['region ' => Region:: EUROPE_AND_ASIA_SANDBOX ], new NullProvider (), new MockHttpClient ());
56
57
57
58
$ input = new GetAvailableFundsRequest ([
58
59
'partnerId ' => 'change me ' ,
0 commit comments