function AssertContentTrait::getUrl

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::getUrl()

Get the current URL from the cURL handler.

Return value

string The current URL.

File

core/tests/Drupal/KernelTests/AssertContentTrait.php, line 145

Class

AssertContentTrait
Provides test methods to assert content.

Namespace

Drupal\KernelTests

Code

protected function getUrl() {
  return 'no-url';
}

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