PHP 클래스 N98\Magento\Command\Eav\Attribute\RemoveCommandTest

저자: Aydin Hassan ([email protected])
파일 보기 프로젝트 열기: netz98/n98-magerun

공개 메소드들

메소드 설명
entityTypeProvider ( ) : array
testAttributeIsSuccessfullyRemoved ( )
testCanRemoveMultipleAttributes ( )
testCanRemoveMultipleAttributesIfSomeNotExist ( )
testCommandPrintsErrorIfAttributeNotExists ( )
testCommandThrowsExceptionIfInvalidEntityType ( )
testOrderAttributeIsSuccessfullyRemoved ( string $entityTypeCode )

보호된 메소드들

메소드 설명
attributeExists ( string $entityType, string $attributeCode ) : boolean
createAttribute ( string $entityType, string $attributeCode, array $data )

메소드 상세

attributeExists() 보호된 메소드

protected attributeExists ( string $entityType, string $attributeCode ) : boolean
$entityType string
$attributeCode string
리턴 boolean

createAttribute() 보호된 메소드

protected createAttribute ( string $entityType, string $attributeCode, array $data )
$entityType string
$attributeCode string
$data array

entityTypeProvider() 공개 정적인 메소드

public static entityTypeProvider ( ) : array
리턴 array

testAttributeIsSuccessfullyRemoved() 공개 메소드

testCanRemoveMultipleAttributes() 공개 메소드

testCanRemoveMultipleAttributesIfSomeNotExist() 공개 메소드

testCommandPrintsErrorIfAttributeNotExists() 공개 메소드

testCommandThrowsExceptionIfInvalidEntityType() 공개 메소드

testOrderAttributeIsSuccessfullyRemoved() 공개 메소드

public testOrderAttributeIsSuccessfullyRemoved ( string $entityTypeCode )
$entityTypeCode string