static::
assertEquals('FRAMEWORK__EXTENSION_INSTALL_EXCEPTION',
$exception->
getErrorCode());
static::
assertEquals(Response::HTTP_INTERNAL_SERVER_ERROR,
$exception->
getStatusCode());
} /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testExtensionUpdateRequiresConsentAffirmationException(): void
{ $exception = StoreException::
extensionUpdateRequiresConsentAffirmationException('test-app',
[ 'permissions' =>
[ 'product' =>
['read'
],
'categories' =>
['read'
],
],
]);
static::
assertEquals( 'Updating app "test-app" requires a renewed consent affirmation.',
$exception->
getMessage() );