You are here

protected function TextFormatElementFormTest::getUrl in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php \Drupal\Tests\filter\Kernel\TextFormatElementFormTest::getUrl()

Get the current URL from the cURL handler.

Return value

string The current URL.

Overrides AssertContentTrait::getUrl

File

core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php, line 138

Class

TextFormatElementFormTest
Tests PathElement validation and conversion functionality.

Namespace

Drupal\Tests\filter\Kernel

Code

protected function getUrl() {

  // \Drupal\simpletest\AssertContentTrait needs this for ::assertFieldByName
  // to work.
  return 'Internal rendering';
}