private const STORE_URI_CONFIG_KEY = 'core.store.apiUri';
private ?string
$originalStoreUri = null;
/**
* @before
*/
public function updateStoreUri(): void
{ $this->originalStoreUri =
$this->
getApiUrlFromSystemConfig();
$this->
getSystemConfigService()->
set(self::STORE_URI_CONFIG_KEY, self::TEST_STORE_URI
);
} /**
* @after
*/
public function restoreStoreUri(): void
{ $this->
getSystemConfigService()->
set(self::STORE_URI_CONFIG_KEY,
$this->originalStoreUri
);
} public function testItCreatesAnClientWithBaseConfig(): void
{