Neos\FluidAdaptor\Tests\Functional\Form\FormObjectsTest::objectIsNotModifiedAnymoreIfHmacHasBeenManipulated PHP 메소드

objectIsNotModifiedAnymoreIfHmacHasBeenManipulated() 공개 메소드

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