mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-23 03:26:10 +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
|
||||
* @expectedException \InvalidArgumentException
|
||||
*/
|
||||
public function concatenateWithEmptyTargetFileNameThrowsException()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
|
||||
$this->subject->concatenate('', ['foo.txt']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue