Commit f8c36b4d authored by damienmckenna's avatar damienmckenna Committed by Damien McKenna
Browse files

Issue #3208869 by DamienMcKenna: Forgot to update LinkSanitizeTest.

parent 9f052e88
...@@ -20,6 +20,7 @@ By DamienMcKenna: Unnecessary syntax change broke PHP 5.3 compatibility. ...@@ -20,6 +20,7 @@ By DamienMcKenna: Unnecessary syntax change broke PHP 5.3 compatibility.
#3208738 by jedihe, DamienMcKenna: Missing proper test_dependencies, testbot #3208738 by jedihe, DamienMcKenna: Missing proper test_dependencies, testbot
ignoring some tests. ignoring some tests.
#3208869 by DamienMcKenna: Simplify tests by extending LinkBaseTestClass. #3208869 by DamienMcKenna: Simplify tests by extending LinkBaseTestClass.
#3208869 by DamienMcKenna: Forgot to update LinkSanitizeTest.
Link 7.x-1.7, 2019-11-14 Link 7.x-1.7, 2019-11-14
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* @todo Rewrite as a unit test once _link_sanitize() is refactored. * @todo Rewrite as a unit test once _link_sanitize() is refactored.
*/ */
class LinkSanitizeTest extends DrupalWebTestCase { class LinkSanitizeTest extends LinkBaseTestClass {
/** /**
* Backup of $_GET['q'] to be able to revert it to its original state. * Backup of $_GET['q'] to be able to revert it to its original state.
...@@ -29,7 +29,6 @@ class LinkSanitizeTest extends DrupalWebTestCase { ...@@ -29,7 +29,6 @@ class LinkSanitizeTest extends DrupalWebTestCase {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setUp(array $modules = array()) { public function setUp(array $modules = array()) {
$modules[] = 'link';
$modules[] = 'node'; $modules[] = 'node';
parent::setUp($modules); parent::setUp($modules);
$this->q = $_GET['q']; $this->q = $_GET['q'];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment