Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Share/HelperTest.php')
-rw-r--r--tests/lib/Share/HelperTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Share/HelperTest.php b/tests/lib/Share/HelperTest.php
index 02118bf0e2e..dc2d26509e3 100644
--- a/tests/lib/Share/HelperTest.php
+++ b/tests/lib/Share/HelperTest.php
@@ -122,9 +122,10 @@ class HelperTest extends \Test\TestCase {
* @dataProvider dataTestSplitUserRemoteError
*
* @param string $id
- * @expectedException \OC\HintException
*/
public function testSplitUserRemoteError($id) {
+ $this->expectException(\OC\HintException::class);
+
\OC\Share\Helper::splitUserRemote($id);
}