PHP Class AddressBookCheckoutComponentTest, silvershop-core

Inheritance: extends SapphireTest
Afficher le fichier Open project: burnbright/silverstripe-shop

Protected Properties

Свойство Type Description
$address1 Address
$address2 Address
$cart Order
$config CheckoutComponentConfig
$fixtureNewAddress
$fixture_file
$member Member

Méthodes publiques

Méthode Description
setUp ( )
testCreateNewAddress ( )
testIncompleteNewAddress ( )
testShouldNotCreateBlankAddresses ( )
testShouldRejectExistingIfNotLoggedIn ( )
testShouldRejectExistingIfNotOwnedByMember ( )
testUseExistingAddress ( )

Method Details

setUp() public méthode

public setUp ( )

testCreateNewAddress() public méthode

testIncompleteNewAddress() public méthode

testShouldNotCreateBlankAddresses() public méthode

testShouldRejectExistingIfNotLoggedIn() public méthode

testShouldRejectExistingIfNotOwnedByMember() public méthode

testUseExistingAddress() public méthode

Property Details

$address1 protected_oe property

protected Address $address1
Résultat Address

$address2 protected_oe property

protected Address $address2
Résultat Address

$cart protected_oe property

protected Order $cart
Résultat Order

$config protected_oe property

protected CheckoutComponentConfig $config
Résultat CheckoutComponentConfig

$fixtureNewAddress protected_oe property

protected $fixtureNewAddress

$fixture_file protected_oe static_oe property

protected static $fixture_file

$member protected_oe property

protected Member $member
Résultat Member