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