diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-04-05 10:14:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 10:14:55 +0200 |
commit | 8f550398c4c882eed00f09d8e40b074183b8aa93 (patch) | |
tree | 44d5c2d89124844c7a0941373a23c4b3a43ba412 /tests/lib | |
parent | 88ab6d452b45c6d80f3bd84f919453286273e5e7 (diff) | |
parent | 6633b4ced65f97495b1c123a9283c6f187debf41 (diff) | |
download | nextcloud-server-8f550398c4c882eed00f09d8e40b074183b8aa93.tar.gz nextcloud-server-8f550398c4c882eed00f09d8e40b074183b8aa93.zip |
Merge pull request #36836 from nextcloud/fix/view-type-cleanup
Tidy up typing in OC\Files\View
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Files/ViewTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php index 7a449c4893b..18a6fca05b0 100644 --- a/tests/lib/Files/ViewTest.php +++ b/tests/lib/Files/ViewTest.php @@ -1096,7 +1096,6 @@ class ViewTest extends \Test\TestCase { ['getMountPoint'], ['resolvePath'], ['getLocalFile'], - ['getLocalFolder'], ['mkdir'], ['rmdir'], ['opendir'], @@ -1296,7 +1295,7 @@ class ViewTest extends \Test\TestCase { public function testNullAsRoot() { - $this->expectException(\InvalidArgumentException::class); + $this->expectException(\TypeError::class); new View(null); } |