public function provideExecute() { $cases = EntityDataTestProvider::provideHandleRequest(); foreach ($cases as $n => $case) { // cases with no ID given will no longer fail be show an html form if ($case[0] === '' && !isset($case[1]['id'])) { $cases[$n][3] = '!<p>!'; // output regex //TODO: be more specific $cases[$n][4] = 200; // http code $cases[$n][5] = array(); // response headers } } return $cases; }
public function handleRequestProvider() { return EntityDataTestProvider::provideHandleRequest(); }