1 | <?php |
||
22 | class CrudEditActionTest extends TestCase |
||
23 | { |
||
24 | |||
25 | use ConfigTrait; |
||
26 | use FixturesTrait; |
||
27 | |||
28 | /** |
||
29 | * @var CrudEditAction |
||
30 | */ |
||
31 | public $Action; |
||
32 | |||
33 | /** |
||
34 | * setUp method |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | public function setUp() |
||
42 | |||
43 | /** |
||
44 | * tearDown method |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function tearDown() |
||
54 | |||
55 | /** |
||
56 | * Test load value method |
||
57 | * |
||
58 | * @return void |
||
59 | */ |
||
60 | public function testExecuteSuccess() |
||
75 | |||
76 | /** |
||
77 | * Test load value method |
||
78 | * |
||
79 | * @return void |
||
80 | * @expectedException \CakeDC\Api\Exception\ValidationException |
||
81 | */ |
||
82 | public function testExecuteValidationError() |
||
91 | |||
92 | /** |
||
93 | * Test load value method |
||
94 | * |
||
95 | * @return void |
||
96 | * @expectedException \Cake\Datasource\Exception\RecordNotFoundException |
||
97 | */ |
||
98 | public function testExecuteNotFound() |
||
105 | |||
106 | protected function _initializeAction($id, $post = []) |
||
131 | } |
||
132 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.