Method | Description | |
---|---|---|
createFormData ( ) | ||
dataEditProductProvider ( ) : array | 個別税率編集時のテストデータ 更新前の税率 / POST値 / 期待値の配列を返す | |
dataNewProductProvider ( ) | ||
testCopy ( ) | ||
testDelete ( ) | ||
testEditWithPost ( ) | ||
testEditWithPostTaxRate ( $before, $after, $expected ) | 個別税率設定のテストケース 個別税率設定を有効にし、商品編集時に更新されることを確認する | |
testNewWithPostTaxRate ( $taxRate, $expected ) | ||
testRoutingAdminProductProduct ( ) | ||
testRoutingAdminProductProductEdit ( ) | ||
testRoutingAdminProductProductNew ( ) |
Method | Description | |
---|---|---|
newTestProduct ( $TestCreator ) | ||
newTestProductClass ( $TestCreator, $TestProduct ) | ||
newTestProductStock ( $TestCreator, $TestProduct, $TestProductClass ) |
public dataEditProductProvider ( ) : array | ||
return | array |
public testEditWithPostTaxRate ( $before, $after, $expected ) | ||
$before | 更新前の税率 | |
$after | POST値 | |
$expected | 期待値 |
public testNewWithPostTaxRate ( $taxRate, $expected ) | ||
$taxRate | ||
$expected |