Skip to content

Commit

Permalink
Merge pull request neos#2972 from neos/albe-fix-tests
Browse files Browse the repository at this point in the history
TASK: Fix failing evaluateReplaceResourceLinkTargetsInsideTag test
  • Loading branch information
albe committed Apr 30, 2020
2 parents a9b46a8 + 0b4cc72 commit 96dbe4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public function evaluateReplaceResourceLinkTargetsInsideTag()
return 'http://localhost/_Resources/01';
}));

$expectedResult = 'and an external link inside another tag beginning with a <article> test <a target="' . $resourceLinkTarget . '" href="http://localhost/_Resources/01">example1</a></article>';
$expectedResult = 'and an external link inside another tag beginning with a <article> test <a target="' . $resourceLinkTarget . '" rel="noopener" href="http://localhost/_Resources/01">example1</a></article>';
$actualResult = $this->convertUrisImplementation->evaluate();
$this->assertSame($expectedResult, $actualResult);
}
Expand Down

0 comments on commit 96dbe4d

Please sign in to comment.