Commit fdc42f37 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #12159 fix unit tests

parent 8e65337b
Pipeline #5208 passed with stages
in 3 minutes and 9 seconds
......@@ -1424,14 +1424,14 @@ EOF;
// Report Delete action, default: 'Report', no Icon
$result = $link->renderLink('U:form=Person&r=123|x');
$this->assertEquals('<a href="http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/qfq/typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234" >typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234</a>', $result);
$this->assertEquals('<a href="http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/qfq/typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234" >http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/qfq/typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234</a>', $result);
// Check das via '_paged' SIP_MODE_ANSWER and SIP_TARGET_URL has been set.
$result = Session::get('badcaffee1234');
$this->assertEquals('__dbIndexData=1&_modeAnswer=html&_targetUrl=localhost&form=Person&r=123', $result);
// Report Delete action, explicit 'Report', no Icon
$result = $link->renderLink('U:form=PersonA&r=1234|x:r');
$this->assertEquals('<a href="http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/qfq/typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234" >typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234</a>', $result);
$this->assertEquals('<a href="http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/qfq/typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234" >http://xxxxxxxxxxxxxxxxxxxxxxxxxxxx/qfq/typo3conf/ext/qfq/Classes/Api/delete.php?s=badcaffee1234</a>', $result);
// Check das via '_paged' SIP_MODE_ANSWER and SIP_TARGET_URL has been set.
$result = Session::get('badcaffee1234');
$this->assertEquals('__dbIndexData=1&_modeAnswer=html&_targetUrl=localhost&form=PersonA&r=1234', $result);
......
Markdown is supported
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