diff options
Diffstat (limited to 'tests/lib/Share/HelperTest.php')
-rw-r--r-- | tests/lib/Share/HelperTest.php | 3 |
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); } |