Bolt\Tests\Configuration\Validation\MagicQuotesTest::testMagicQuotesDisabled PHP Метод

testMagicQuotesDisabled() публичный Метод

    public function testMagicQuotesDisabled()
    {
        $this->extensionController->systemCheck(Validator::CHECK_MAGIC_QUOTES)->shouldNotBeCalled();
        $this->_validation->expects($this->once())->method('get_magic_quotes_gpc')->will($this->returnValue(false));
        $this->validator->check(Validator::CHECK_MAGIC_QUOTES);
    }