class ExtensionUpdateRequiresConsentAffirmationExceptionTest extends TestCase
{ /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testGetErrorCode(): void
{ static::
assertSame( 'FRAMEWORK__EXTENSION_UPDATE_REQUIRES_CONSENT_AFFIRMATION',
ExtensionUpdateRequiresConsentAffirmationException::
fromDelta('SwagApp',
[])->
getErrorCode() );
} /**
* @DisabledFeatures(features={"v6.6.0.0"})
*/
public function testGetStatusCode(): void
{ static::
assertSame( Response::HTTP_INTERNAL_SERVER_ERROR,
ExtensionUpdateRequiresConsentAffirmationException::
fromDelta('SwagApp',
[])->
getStatusCode() );