Skip to content

Commit 1385f0d

Browse files
committed
Add test for DataProtection url
1 parent 9e778bc commit 1385f0d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/client_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@
303303
.to eq('https://ca-test.adyen.com/ca/services/DisputeService')
304304
end
305305

306+
it 'checks the creation of DataProtection url' do
307+
client = Adyen::Client.new(env: :test)
308+
expect(client.service_url_base('DataProtection'))
309+
.to eq('https://ca-test.adyen.com/ca/services/DataProtectionService')
310+
end
311+
306312
it 'checks the creation of SessionAuthentication url for the test env' do
307313
client = Adyen::Client.new(env: :test)
308314
expect(client.service_url_base('SessionAuthentication'))

0 commit comments

Comments
 (0)