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

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

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