mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-06 10:44:33 +08:00
#47 - Fixes the issues with the test case.
This commit is contained in:
@ -706,8 +706,10 @@ class RolesTest extends BrowserKitTest
|
|||||||
|
|
||||||
$this->json('POST', $url, $request);
|
$this->json('POST', $url, $request);
|
||||||
$resp = $this->decodeResponseJson();
|
$resp = $this->decodeResponseJson();
|
||||||
return $resp['comment'];
|
if (isset($resp['comment'])) {
|
||||||
|
return $resp['comment'];
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function updateComment($page, $commentId) {
|
private function updateComment($page, $commentId) {
|
||||||
|
Reference in New Issue
Block a user