summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-13 18:33:12 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-04-03 10:52:33 +0200
commit966a3e696335d9dad2cc8dfa2ec44d44298626ff (patch)
tree491f4b36f976560431ac336c06f8d613ca401ca7 /tests
parent8e529df6ae5dfb5df987919d11a49828e19f6dbc (diff)
downloadnextcloud-server-966a3e696335d9dad2cc8dfa2ec44d44298626ff.tar.gz
nextcloud-server-966a3e696335d9dad2cc8dfa2ec44d44298626ff.zip
Tidy up typing in OC\Files\View
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/ViewTest.php2
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);
}