| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function testDeletePostWorkspaceCheck(){ |
||
| 42 | $blob = $this->testPostWorkspaceCheck(); |
||
| 43 | $id = $blob[0]; |
||
| 44 | $part_id= $blob[1]; |
||
| 45 | |||
| 46 | print_r("FANFARA!"); |
||
| 47 | var_dump($blob); |
||
| 48 | $client = $this->createClient(); |
||
| 49 | $client = $this->logIn2($client); |
||
| 50 | $client->request( |
||
| 51 | 'DELETE', |
||
| 52 | '/api/v1/workspace/'.$id.'/part/'.$part_id.'/checkin', |
||
| 53 | [], |
||
| 54 | [], |
||
| 55 | ['CONTENT_TYPE' => 'application/json'], |
||
| 56 | ''); |
||
| 57 | $response = $client->getResponse(); |
||
| 58 | |||
| 59 | |||
| 60 | $this->assertEquals(204,$response->getStatusCode()); //TODO verificare che il dato non sia più presente sul server |
||
| 61 | |||
| 62 | return [$id,$part_id]; |
||
| 63 | } |
||
| 64 | } |
||
| 65 |