Skip to content

Commit 507fc9e

Browse files
committed
new exception type
1 parent bc05b95 commit 507fc9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/LoginShellSetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testSetLoginShellSelect(string $shell): void
4848
global $USER;
4949
// FIXME add check to avoid warning from ldap_modify
5050
if (!mb_check_encoding($shell, 'ASCII')) {
51-
$this->expectException("Exception");
51+
$this->expectException(RuntimeException::class);
5252
}
5353
// FIXME shell is not validated
5454
post(

0 commit comments

Comments
 (0)