7 calls to Drupal::httpClient() in Drupal 9
- DrupalTest::testHttpClient in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the httpClient() method.
- StatisticsAdminTest::setUp in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsAdminTest.php - StatisticsLoggingTest::setUp in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsLoggingTest.php - StatisticsReportsTest::testPopularContentBlock in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsReportsTest.php - Tests the "popular content" block.
- StatisticsTokenReplaceTest::testStatisticsTokenReplacement in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsTokenReplaceTest.php - Creates a node, then tests the statistics tokens generated from it.
- UserLoginHttpTest::doTestLogin in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Do login testing for a given serialization format.
- UserLoginHttpTest::testLogoutCsrfProtection in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Tests csrf protection of User Logout route.