systemConfigService:
$systemConfigService,
);
static::
assertTrue($frwService->
frwShouldRun());
} public function testVerifiesNewLicenseDomain(): void
{ $domain = 'shopware.swag';
$edition = 'Community Edition';
$domainVerificationRequestStruct =
new DomainVerificationRequestStruct( 'v3r1f1c4t10n-s3cr3t',
'sw-domain-hash.html'
);
$frwClient =
$this->
createMock(FirstRunWizardClient::
class);
$frwClient->
expects(static::
exactly(2
)) ->
method('getLicenseDomains'
) ->
willReturnOnConsecutiveCalls( // The first request will return an empty collection
[],
// The second request will return the newly created license domain