We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c8e183 commit f577176Copy full SHA for f577176
test/unit/AjaxSshValidateTest.php
@@ -25,7 +25,7 @@ public function testSshValidate(bool $is_valid, string $pubkey)
25
ob_start();
26
include __DIR__ . "/../../webroot/js/ajax/ssh_validate.php";
27
$output_str = ob_get_clean();
28
- $output = jsonDecode($output);
+ $output = jsonDecode($output_str, true);
29
$this->assertEquals($is_valid, $output["is_valid"]);
30
}
31
0 commit comments