File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 303303 . to eq ( 'https://ca-test.adyen.com/ca/services/DisputesService' )
304304 end
305305
306+ it 'checks the creation of SessionAuthentication url for the test env' do
307+ client = Adyen ::Client . new ( env : :test )
308+ expect ( client . service_url_base ( 'SessionAuthentication' ) )
309+ . to eq ( 'https://test.adyen.com/authe/api' )
310+ end
311+
312+ it 'checks the creation of SessionAuthentication url for the live env' do
313+ client = Adyen ::Client . new ( env : :live )
314+ expect ( client . service_url_base ( 'SessionAuthentication' ) )
315+ . to eq ( 'https://authe-live.adyen.com/authe/api' )
316+ end
317+
306318 it 'raises FormatError on 400 response and checks content' do
307319 client = Adyen ::Client . new ( api_key : 'api_key' , env : :test )
308320 mock_faraday_connection = double ( Faraday ::Connection )
You can’t perform that action at this time.
0 commit comments