Skip to content

Commit 2238ad5

Browse files
committed
expect exception
1 parent fd840d6 commit 2238ad5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/SSHKeyDeleteTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function testDeleteKeyIndexTooLarge()
5252
{
5353
global $USER;
5454
try {
55+
$this->expectException(ArrayKeyException::class);
5556
$this->deleteKey("99");
5657
$this->assertEquals(self::$initialKeys, $USER->getSSHKeys());
5758
} finally {

0 commit comments

Comments
 (0)