diff options
Diffstat (limited to 'tests/lib/Files/ViewTest.php')
-rw-r--r-- | tests/lib/Files/ViewTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php index 7a449c4893b..b17eeea83c0 100644 --- a/tests/lib/Files/ViewTest.php +++ b/tests/lib/Files/ViewTest.php @@ -1296,7 +1296,7 @@ class ViewTest extends \Test\TestCase { public function testNullAsRoot() { - $this->expectException(\InvalidArgumentException::class); + $this->expectException(\TypeError::class); new View(null); } |