Skip to content
Snippets Groups Projects
Commit f6f03a80 authored by Nadir Sunar's avatar Nadir Sunar Committed by Susanne Moog
Browse files

[TASK] replaced @expectedException in sysext:recordlist

Resolves: #76502
Releases: master
Change-Id: Ic366629c2c0f14c032bf2020e54af7e6a252e8b2
Reviewed-on: https://review.typo3.org/48486


Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Tested-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
parent a9c07b96
Branches
Tags
No related merge requests found
......@@ -89,11 +89,11 @@ class AbstractDatabaseRecordListTest extends UnitTestCase
/**
* @test
* @expectedException \UnexpectedValueException
* @expectedExceptionCode 1436195934
*/
public function setTableDisplayOrderThrowsExceptionOnInvalidAfter()
{
$this->expectException(\UnexpectedValueException::class);
$this->expectExceptionCode(1436195934);
$test = [
'table' => [ 'after' => new \stdClass ]
];
......@@ -103,11 +103,11 @@ class AbstractDatabaseRecordListTest extends UnitTestCase
/**
* @test
* @expectedException \UnexpectedValueException
* @expectedExceptionCode 1436195933
*/
public function setTableDisplayOrderThrowsExceptionOnInvalidBefore()
{
$this->expectException(\UnexpectedValueException::class);
$this->expectExceptionCode(1436195933);
$test = [
'table' => [ 'before' => new \stdClass ]
];
......
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