mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-26 10:56:18 +01:00

[TASK] Switch to expectException

This commit is contained in:
Oliver Klee 2017-09-07 12:30:59 +02:00
parent 1c1f846858
commit 7b9511edaa

View file

@ -57,10 +57,11 @@ class FileUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
/** /**
* @test * @test
* @expectedException \InvalidArgumentException
*/ */
public function concatenateWithEmptyTargetFileNameThrowsException() public function concatenateWithEmptyTargetFileNameThrowsException()
{ {
$this->expectException(\InvalidArgumentException::class);
$this->subject->concatenate('', ['foo.txt']); $this->subject->concatenate('', ['foo.txt']);
} }