Skip to content

Commit 5bf3492

Browse files
committed
test: add expectExceptionMessage()
1 parent 955100e commit 5bf3492

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/system/HTTP/Files/FileMovingTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ public function testFailedMoveBecauseOfFalseReturned()
322322
move_uploaded_file('', '', false);
323323

324324
$this->expectException(HTTPException::class);
325+
$this->expectExceptionMessage('move_uploaded_file() returned false');
325326

326327
$file->move($destination, $file->getName(), false);
327328
}

0 commit comments

Comments
 (0)