8 calls to drupal_generate_test_ua() in Drupal 9
- BrowserTestBaseUserAgentTest::prepareRequest in core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseUserAgentTest.php - Prepare for a request to testing site.
- BrowserTestBaseUserAgentTest::testUserAgentValidation in core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseUserAgentTest.php - Tests validation of the User-Agent header we use to perform test requests.
- PageCacheTest::getHeaders in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php - Retrieves only the headers for an absolute path.
- QuickStartTest::testQuickStartCommand in core/
tests/ Drupal/ Tests/ Core/ Command/ QuickStartTest.php - Tests the quick-start command.
- QuickStartTest::testQuickStartInstallAndServerCommands in core/
tests/ Drupal/ Tests/ Core/ Command/ QuickStartTest.php - Tests the quick-start commands.
- TestHttpClientMiddleware::__invoke in core/
lib/ Drupal/ Core/ Test/ HttpClientMiddleware/ TestHttpClientMiddleware.php - HTTP middleware that replaces the user agent for simpletest requests.
- TestSiteInstallCommand::execute in core/
tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php - UiHelperTrait::prepareRequest in core/
tests/ Drupal/ Tests/ UiHelperTrait.php - Prepare for a request to testing site.