Skip to content
Snippets Groups Projects
Unverified Commit 68a7aed2 authored by Joas Schilling's avatar Joas Schilling
Browse files

Adjust test to work with phpunit < 5.2

parent 77db6d3d
No related branches found
No related tags found
No related merge requests found
......@@ -413,7 +413,7 @@ class ViewControllerTest extends TestCase {
->will($this->returnValue([]));
if ($useShowFile) {
$this->expectException('OCP\Files\NotFoundException');
$this->setExpectedException('OCP\Files\NotFoundException');
$this->viewController->showFile(123);
} else {
$response = $this->viewController->index('MyDir', 'MyView', '123');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment