#47 - Fixes the issues with the test case.

This commit is contained in:
Abijeet 2017-06-13 02:37:50 +05:30
parent 7d02f77e67
commit 574ee820a9

View File

@ -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) {