Phalcon\Test\Unit\Tag\TagResetInputTest::testResetInput PHP Method

testResetInput() public method

Note: The Tag::resetInput should not clear $_POST data.
Since: 2016-01-20
Author: Serghei Iakovlev ([email protected])
public testResetInput ( )
    public function testResetInput()
    {
        $this->specify('The resetInput does not work as expected', function () {
            $_POST = ['a' => '1', 'b' => '2'];
            Tag::resetInput();
            expect($_POST)->equals(['a' => '1', 'b' => '2']);
        });
    }