summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Command
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-01-02 17:57:17 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-02-13 13:22:57 +0100
commitb4fa772bc5f23f84fc292f5d6bf884543d2bfe51 (patch)
tree8576ad3ea145f3644804e2fd93de462cfc2c2578 /tests/Unit/Command
parentceba81060303e49b2617397397f2804516052ec9 (diff)
Remove V1 item API
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Command')
-rw-r--r--tests/Unit/Command/FolderDeleteTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Command/FolderDeleteTest.php b/tests/Unit/Command/FolderDeleteTest.php
index c87b05acd..e9076d9ba 100644
--- a/tests/Unit/Command/FolderDeleteTest.php
+++ b/tests/Unit/Command/FolderDeleteTest.php
@@ -82,7 +82,7 @@ class FolderDeleteTest extends TestCase
*/
public function testInValid()
{
- $this->expectException('OCA\News\Service\Exceptions\ServiceException');
+ $this->expectException('OCA\News\Service\Exceptions\ServiceValidationException');
$this->expectExceptionMessage('Can not remove root folder!');
$this->consoleInput->expects($this->exactly(2))