| @@ 982-990 (lines=9) @@ | ||
| 979 | $this->assertSame($session, $session->updateQuoteInventory($quote)); |
|
| 980 | } |
|
| 981 | ||
| 982 | public function provideTrueFalseSequence() |
|
| 983 | { |
|
| 984 | return [ |
|
| 985 | [true, false, true], |
|
| 986 | [false, true, true], |
|
| 987 | [false, false, false], |
|
| 988 | [null, true, true], |
|
| 989 | ]; |
|
| 990 | } |
|
| 991 | /** |
|
| 992 | * make sure that once the value becomes true it remains true not matter what is set |
|
| 993 | * @param bool $init initial flag value |
|
| @@ 409-417 (lines=9) @@ | ||
| 406 | /** |
|
| 407 | * @return array |
|
| 408 | */ |
|
| 409 | public function providerRomCancelAction() |
|
| 410 | { |
|
| 411 | return [ |
|
| 412 | [true, true, true], |
|
| 413 | [false, true, true], |
|
| 414 | [false, false, true], |
|
| 415 | [false, false, false], |
|
| 416 | ]; |
|
| 417 | } |
|
| 418 | ||
| 419 | /** |
|
| 420 | * Test that the controller method EbayEnterprise_Order_OrderController::romCancelAction() |
|
| @@ 757-765 (lines=9) @@ | ||
| 754 | /** |
|
| 755 | * @return array |
|
| 756 | */ |
|
| 757 | public function providerIsOrderCancelPostAction() |
|
| 758 | { |
|
| 759 | return [ |
|
| 760 | [true, true, true], |
|
| 761 | [true, false, false], |
|
| 762 | [false, true, false], |
|
| 763 | [false, false, false], |
|
| 764 | ]; |
|
| 765 | } |
|
| 766 | ||
| 767 | /** |
|
| 768 | * Test that the controller method EbayEnterprise_Order_OrderController::_isOrderCancelPostAction() |
|