Skip to content

Commit

Permalink
[ECP-9240] Start using CDN to download domain association file
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Demiralp committed Dec 13, 2024
1 parent e8822f3 commit f3854c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class DownloadApplePayDomainAssociationFile extends Action
{
const FILE_NAME = 'apple-developer-merchantid-domain-association';
const REMOTE_PATH = 'https://eu.adyen.link/.well-known';
const REMOTE_PATH = 'https://bae81f955b.cdn.adyen.com/checkoutshopper/.well-known';
const PUB_PATH = 'pub';
const WELL_KNOWN_PATH = '.well-known';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function testDownloadFileSuccessfully(): void

$this->fileIoMock->method('read')
->with(
'https://eu.adyen.link/.well-known/apple-developer-merchantid-domain-association',
'https://bae81f955b.cdn.adyen.com/checkoutshopper/.well-known/apple-developer-merchantid-domain-association',
'/var/www/html/pub/.well-known/apple-developer-merchantid-domain-association'
)
->willReturn(true);
Expand Down Expand Up @@ -108,7 +108,7 @@ public function testHttpNotFound(): void

$this->fileIoMock->method('read')
->with(
'https://eu.adyen.link/.well-known/apple-developer-merchantid-domain-association',
'https://bae81f955b.cdn.adyen.com/checkoutshopper/.well-known/apple-developer-merchantid-domain-association',
'/var/www/html/pub/.well-known/apple-developer-merchantid-domain-association'
)
->willReturn(false);
Expand Down

0 comments on commit f3854c7

Please sign in to comment.