@@ -50,7 +50,7 @@ public function testLiveEndpointWithoutRequiredPrefix()
5050 }
5151 }
5252
53- public function lemTestUrl ()
53+ public function testLemTestUrl ()
5454 {
5555 $ client = new Client ();
5656 $ client ->setEnvironment (Environment::TEST );
@@ -59,7 +59,7 @@ public function lemTestUrl()
5959 self ::assertEquals ("https://kyc-test.adyen.com/lem/v3/legalEntities " , $ url );
6060 }
6161
62- public function lemLiveUrl ()
62+ public function testLemLiveUrl ()
6363 {
6464 $ client = new Client ();
6565 $ client ->setEnvironment (Environment::LIVE );
@@ -68,7 +68,7 @@ public function lemLiveUrl()
6868 self ::assertEquals ("https://kyc-live.adyen.com/lem/v3/legalEntities " , $ url );
6969 }
7070
71- public function balancePlatformTestUrl ()
71+ public function testBalancePlatformTestUrl ()
7272 {
7373 $ client = new Client ();
7474 $ client ->setEnvironment (Environment::TEST );
@@ -77,7 +77,7 @@ public function balancePlatformTestUrl()
7777 self ::assertEquals ("https://balanceplatform-api-test.adyen.com/bcl/v2 " , $ url );
7878 }
7979
80- public function balancePlatformLiveUrl ()
80+ public function testBalancePlatformLiveUrl ()
8181 {
8282 $ client = new Client ();
8383 $ client ->setEnvironment (Environment::LIVE );
@@ -86,7 +86,7 @@ public function balancePlatformLiveUrl()
8686 self ::assertEquals ("https://balanceplatform-api-live.adyen.com/bcl/v2 " , $ url );
8787 }
8888
89- public function managementTestUrl ()
89+ public function testManagementTestUrl ()
9090 {
9191 $ client = new Client ();
9292 $ client ->setEnvironment (Environment::TEST );
@@ -95,7 +95,7 @@ public function managementTestUrl()
9595 self ::assertEquals ("https://management-test.adyen.com/v3 " , $ url );
9696 }
9797
98- public function managementLiveUrl ()
98+ public function testManagementLiveUrl ()
9999 {
100100 $ client = new Client ();
101101 $ client ->setEnvironment (Environment::LIVE );
@@ -104,7 +104,7 @@ public function managementLiveUrl()
104104 self ::assertEquals ("https://management-live.adyen.com/v3 " , $ url );
105105 }
106106
107- public function transfersTestUrl ()
107+ public function testTransfersTestUrl ()
108108 {
109109 $ client = new Client ();
110110 $ client ->setEnvironment (Environment::TEST );
@@ -113,16 +113,16 @@ public function transfersTestUrl()
113113 self ::assertEquals ("https://balanceplatform-api-test.adyen.com/btl/v4 " , $ url );
114114 }
115115
116- public function transfersLiveUrl ()
116+ public function testTransfersLiveUrl ()
117117 {
118118 $ client = new Client ();
119119 $ client ->setEnvironment (Environment::LIVE );
120120 $ service = new Service ($ client );
121121 $ url = $ service ->createBaseUrl ("https://balanceplatform-api-test.adyen.com/btl/v4 " );
122- self ::assertEquals ("https://balanceplatform-api-test .adyen.com/btl/v4 " , $ url );
122+ self ::assertEquals ("https://balanceplatform-api-live .adyen.com/btl/v4 " , $ url );
123123 }
124124
125- public function binlookupTestUrl ()
125+ public function testBinlookupTestUrl ()
126126 {
127127 $ client = new Client ();
128128 $ client ->setEnvironment (Environment::TEST );
@@ -131,16 +131,16 @@ public function binlookupTestUrl()
131131 self ::assertEquals ("https://pal-test.adyen.com/pal/servlet/BinLookup/v54 " , $ url );
132132 }
133133
134- public function binlookupLiveUrl ()
134+ public function testBinlookupLiveUrl ()
135135 {
136136 $ client = new Client ();
137- $ client ->setEnvironment (Environment::LIVE ,"[mycompany] " );
137+ $ client ->setEnvironment (Environment::LIVE ,"myCompany " );
138138 $ service = new Service ($ client );
139139 $ url = $ service ->createBaseUrl ("https://pal-test.adyen.com/pal/servlet/BinLookup/v54 " );
140- self ::assertEquals ("https://mycompany -pal-live.adyen .com/pal/servlet/BinLookup/v54 " , $ url );
140+ self ::assertEquals ("https://myCompany -pal-live.adyenpayments .com/pal/servlet/BinLookup/v54 " , $ url );
141141 }
142142
143- public function payoutTestUrl ()
143+ public function testPayoutTestUrl ()
144144 {
145145 $ client = new Client ();
146146 $ client ->setEnvironment (Environment::TEST );
@@ -149,16 +149,16 @@ public function payoutTestUrl()
149149 self ::assertEquals ("https://pal-test.adyen.com/pal/servlet/Payout/v68 " , $ url );
150150 }
151151
152- public function payoutLiveUrl ()
152+ public function testPayoutLiveUrl ()
153153 {
154154 $ client = new Client ();
155- $ client ->setEnvironment (Environment::LIVE ,"[mycompany] " );
155+ $ client ->setEnvironment (Environment::LIVE ,"myCompany " );
156156 $ service = new Service ($ client );
157- $ url = $ service ->createBaseUrl ("https://pal-live .adyen.com/pal/servlet/Payout/v68 " );
158- self ::assertEquals ("https://mycompany -pal-live-test.adyen .com/pal/servlet/Payout/v68 " , $ url );
157+ $ url = $ service ->createBaseUrl ("https://pal-test .adyen.com/pal/servlet/Payout/v68 " );
158+ self ::assertEquals ("https://myCompany -pal-live.adyenpayments .com/pal/servlet/Payout/v68 " , $ url );
159159 }
160160
161- public function recurringTestUrl ()
161+ public function testRecurringTestUrl ()
162162 {
163163 $ client = new Client ();
164164 $ client ->setEnvironment (Environment::TEST );
@@ -167,13 +167,13 @@ public function recurringTestUrl()
167167 self ::assertEquals ("https://pal-test.adyen.com/pal/servlet/Recurring/v68 " , $ url );
168168 }
169169
170- public function recurringLiveUrl ()
170+ public function testRecurringLiveUrl ()
171171 {
172172 $ client = new Client ();
173- $ client ->setEnvironment (Environment::LIVE ,"[mycompany] " );
173+ $ client ->setEnvironment (Environment::LIVE ,"myCompany " );
174174 $ service = new Service ($ client );
175- $ url = $ service ->createBaseUrl ("https://pal-live .adyen.com/pal/servlet/Recurring/v68 " );
176- self ::assertEquals ("https://mycompany -pal-test.adyen .com/pal/servlet/Recurring/v68 " , $ url );
175+ $ url = $ service ->createBaseUrl ("https://pal-test .adyen.com/pal/servlet/Recurring/v68 " );
176+ self ::assertEquals ("https://myCompany -pal-live.adyenpayments .com/pal/servlet/Recurring/v68 " , $ url );
177177 }
178178
179179 // test PosMobileApi LIVE url with prefix
0 commit comments