diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php index 7d3352f323a9bd56adf8c683d4228385d1d88ddc..9f41cfe2abda930c3b1a70119f832ecd9f2abaf8 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php @@ -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 */