8 calls to Drupal::httpClient() in Drupal 8
- DrupalTest::testHttpClient in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the httpClient() method.
- RESTTestBase::httpRequest in core/
modules/ rest/ src/ Tests/ RESTTestBase.php - Helper function to issue a HTTP request with simpletest's cURL.
- 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 - Test csrf protection of User Logout route.