Verified Commit f8cbc71d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3293952 by Spokje, longwave: Remove unneeded...

Issue #3293952 by Spokje, longwave: Remove unneeded TextFormatElementFormTest::getUrl() and AssertContentTrait::getUrl()

(cherry picked from commit d17bde5d)
parent 678fdc7f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -132,13 +132,4 @@ public function testTextFormatElement() {
    $this->assertNoPattern('|<h4[^>]*></h4>|', 'No empty H4 element found.');
  }

  /**
   * {@inheritdoc}
   */
  protected function getUrl() {
    // \Drupal\simpletest\AssertContentTrait needs this for ::assertFieldByName
    // to work.
    return 'Internal rendering';
  }

}
+0 −10
Original line number Diff line number Diff line
@@ -136,16 +136,6 @@ protected function parse() {
    return $this->elements;
  }

  /**
   * Get the current URL from the cURL handler.
   *
   * @return string
   *   The current URL.
   */
  protected function getUrl() {
    return 'no-url';
  }

  /**
   * Builds an XPath query.
   *