'url' =>
getenv('APP_URL'
),
'appVersion' =>
$app->
getVersion(),
'shopId' =>
$shopIdProvider->
getShopId(),
],
'data' =>
[ 'ids' =>
$ids,
'entity' =>
$action->
getEntity(),
'action' =>
$action->
getAction(),
],
];
static::
assertEquals($expected,
$result->
asPayload());
static::
assertEquals($action->
getUrl(),
$result->
getTargetUrl());
} public function testThrowsIfAppUrlChangeWasDetected(): void
{ $actionLoader =
$this->
getContainer()->
get(AppActionLoader::
class);
/** @var EntityRepository $actionRepo */
$actionRepo =
$this->
getContainer()->
get('app_action_button.repository'
);
$this->
loadAppsFromDir(__DIR__ . '/../Manifest/_fixtures/test'
);