Skip to content

Commit 0a92379

Browse files
committed
Update tests
1 parent 1d5803f commit 0a92379

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/controller/edit_prefix_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function test_edit_prefix($prefix_id, $valid_form, $is_ajax)
8585
{
8686
// Handle trigger_error() output called from json_response
8787
$this->expectOutputString('{"success":true}');
88+
$this->expectException(\RuntimeException::class);
8889
}
8990
}
9091

tests/controller/move_prefix_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function test_move_prefix($prefix_id, $direction, $valid_form, $is_ajax)
8080
{
8181
// Handle trigger_error() output called from json_response
8282
$this->expectOutputString('{"success":true}');
83+
$this->expectException(\RuntimeException::class);
8384
}
8485

8586
$this->manager->expects(static::once())

0 commit comments

Comments
 (0)