mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 22:16:12 +01:00
[TASK] Switch to expectException
This commit is contained in:
parent
1c1f846858
commit
7b9511edaa
1 changed files with 2 additions and 1 deletions
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue