Phalcon\Test\FunctionalTestCase::tearDown PHP Method

tearDown() protected method

Ensures that each test has it's own DI and all globals are purged
protected tearDown ( ) : void
return void
    protected function tearDown()
    {
        $this->di->reset();
        $this->application = null;
        $_SESSION = [];
        $_GET = [];
        $_POST = [];
        $_COOKIE = [];
        $_REQUEST = [];
        $_FILES = [];
    }