/** * @test */ public function objectIsNotModifiedAnymoreIfHmacIsRemoved() { $postIdentifier = $this->setupDummyPost(); $this->browser->request('http://localhost/test/fluid/formobjects/edit?fooPost=' . $postIdentifier); $form = $this->browser->getForm(); unset($form['__trustedProperties']); $this->browser->submit($form); $this->assertSame('500 Internal Server Error', $this->browser->getLastResponse()->getStatus()); }