protected function StandardInstallerTest::curlExec in Drupal 8
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ StandardInstallerTest.php, line 38
Class
- StandardInstallerTest
- Tests the interactive installer installing the standard profile.
Namespace
Drupal\FunctionalTests\InstallerCode
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);
}