summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Command/FolderDeleteTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Command/FolderDeleteTest.php')
-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))