Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
link
Commits
f8c36b4d
Commit
f8c36b4d
authored
Apr 15, 2021
by
damienmckenna
Committed by
Damien McKenna
Apr 15, 2021
Browse files
Issue #3208869 by DamienMcKenna: Forgot to update LinkSanitizeTest.
parent
9f052e88
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.txt
View file @
f8c36b4d
...
...
@@ -20,6 +20,7 @@ By DamienMcKenna: Unnecessary syntax change broke PHP 5.3 compatibility.
#3208738 by jedihe, DamienMcKenna: Missing proper test_dependencies, testbot
ignoring some tests.
#3208869 by DamienMcKenna: Simplify tests by extending LinkBaseTestClass.
#3208869 by DamienMcKenna: Forgot to update LinkSanitizeTest.
Link 7.x-1.7, 2019-11-14
...
...
tests/LinkSanitizeTest.test
View file @
f8c36b4d
...
...
@@ -5,7 +5,7 @@
*
* @todo Rewrite as a unit test once _link_sanitize() is refactored.
*/
class
LinkSanitizeTest
extends
DrupalWeb
TestCas
e
{
class
LinkSanitizeTest
extends
LinkBase
TestC
l
as
s
{
/**
* Backup of $_GET['q'] to be able to revert it to its original state.
...
...
@@ -29,7 +29,6 @@ class LinkSanitizeTest extends DrupalWebTestCase {
* {@inheritdoc}
*/
public
function
setUp
(
array
$modules
=
array
())
{
$modules
[]
=
'link'
;
$modules
[]
=
'node'
;
parent
::
setUp
(
$modules
);
$this
->
q
=
$_GET
[
'q'
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment