]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7d02f77
)
#47 - Fixes the issues with the test case.
261/head
author
Abijeet
<redacted>
Mon, 12 Jun 2017 21:07:50 +0000
(
02:37
+0530)
committer
Abijeet
<redacted>
Mon, 12 Jun 2017 21:07:50 +0000
(
02:37
+0530)
tests/Permissions/RolesTest.php
patch
|
blob
|
history
diff --git
a/tests/Permissions/RolesTest.php
b/tests/Permissions/RolesTest.php
index 9d054fe0b9b3924e58af0511e2236d011e7f5148..0e9f691e0d86aa6d737ab211da977a5abf4cb2f1 100644
(file)
--- a/
tests/Permissions/RolesTest.php
+++ b/
tests/Permissions/RolesTest.php
@@
-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) {
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.