Bolt\Tests\Configuration\Validation\ApacheTest::testApacheCheckCanBeDisabled PHP Метод

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

    public function testApacheCheckCanBeDisabled()
    {
        $this->extensionController->systemCheck(Validator::CHECK_APACHE)->shouldNotBeCalled();
        $_SERVER['SERVER_SOFTWARE'] = 'Apache 1.0';
        $this->_validation->expects($this->never())->method('is_readable');
        $this->validator->disableApacheChecks = true;
        $this->validator->check(Validator::CHECK_APACHE);
    }