@@ -66,11 +66,11 @@ discard block |
||
66 | 66 | { |
67 | 67 | $this->logInWithPermission('MDO_Edit'); |
68 | 68 | $object = $this->objFromFixture(SampleManageableDataObject::class, 'one'); |
69 | - $response = $this->get('/SampleManageableObjectPageController/edit/' . $object->ID); |
|
69 | + $response = $this->get('/SampleManageableObjectPageController/edit/'.$object->ID); |
|
70 | 70 | $this->assertEquals(200, $response->getStatusCode()); |
71 | 71 | $this->logOut(); |
72 | 72 | |
73 | - $response2 = $this->get('/SampleManageableObjectPageController/edit/' . 0); |
|
73 | + $response2 = $this->get('/SampleManageableObjectPageController/edit/'.0); |
|
74 | 74 | $this->assertEquals(404, $response2->getStatusCode()); |
75 | 75 | } |
76 | 76 | |
@@ -87,10 +87,10 @@ discard block |
||
87 | 87 | |
88 | 88 | $this->logInWithPermission('MDO_Delete'); |
89 | 89 | |
90 | - $response404 = $this->get('/SampleManageableObjectPageController/delete/' . 0); |
|
90 | + $response404 = $this->get('/SampleManageableObjectPageController/delete/'.0); |
|
91 | 91 | $this->assertEquals(404, $response404->getStatusCode()); |
92 | 92 | |
93 | - $success = $this->get('/SampleManageableObjectPageController/delete/' . $id); |
|
93 | + $success = $this->get('/SampleManageableObjectPageController/delete/'.$id); |
|
94 | 94 | $this->assertEquals(200, $success->getStatusCode()); |
95 | 95 | $this->assertNull(SampleManageableDataObject::get()->byID($id)); |
96 | 96 |