function StandardInstallerTest::curlExec

File

core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php, line 38

Class

StandardInstallerTest
Tests the interactive installer installing the standard profile.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function curlExec($curl_options, $redirect = FALSE) {
    // Ensure that we see the classy progress CSS on the batch page.
    // Batch processing happens as part of HTTP redirects, so we can access the
    // HTML of the batch page.
    if (strpos($curl_options[CURLOPT_URL], '&id=1&op=do_nojs') !== FALSE) {
        $this->assertRaw('themes/classy/css/components/progress.css');
    }
    return parent::curlExec($curl_options, $redirect);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.