Skip to content
Snippets Groups Projects
Commit 34eb9737 authored by Anja Leichsenring's avatar Anja Leichsenring Committed by Mathias Brodala
Browse files

[TASK] Remove unnecessary extbase test

The removed test was skipped for a long time, and its intended
guarding against the usage of objects in extbase requests does
not apply.

Resolves: #85610
Releases: master
Change-Id: Icf401ff50badba4d8d33405d86708ec7af157516
Reviewed-on: https://review.typo3.org/57649


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Tested-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Tested-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
parent 7594d894
Branches
Tags
No related merge requests found
......@@ -14,7 +14,6 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Mvc;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Extbase\Mvc\Exception\InvalidArgumentNameException;
use TYPO3\CMS\Extbase\Mvc\Exception\InvalidArgumentTypeException;
/**
* Test case
......@@ -53,18 +52,6 @@ class RequestTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
$request->setArgument('', 'theValue');
}
/**
* @test
*/
public function setArgumentThrowsExceptionIfTheGivenArgumentValueIsAnObject()
{
$this->expectException(InvalidArgumentTypeException::class);
$this->expectExceptionCode(1210858767);
$this->markTestSkipped('Differing behavior from TYPO3.Flow because of backwards compatibility reasons.');
$request = new \TYPO3\CMS\Extbase\Mvc\Request();
$request->setArgument('theKey', new \stdClass());
}
/**
* @test
*/
......
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