File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/Integration/Controller Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ protected function getDecodedJsonResponseContent(): array
103103 }
104104
105105 /**
106- * Returns Int as response content.
106+ * Returns the response content as int .
107107 *
108108 * @return int
109109 */
110- protected function getIntResponseContent (): int
110+ protected function getResponseContentAsInt (): int
111111 {
112112 return json_decode ($ this ->client ->getResponse ()->getContent (), true );
113113 }
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ public function getListCountWithCurrentSessionKeyForExistingListWithSubscribersR
390390 $ this ->applyDatabaseChanges ();
391391
392392 $ this ->authenticatedJsonRequest ('get ' , '/api/v2/lists/2/count ' );
393- $ response = $ this ->getIntResponseContent ();
393+ $ response = $ this ->getResponseContentAsInt ();
394394
395395 static ::assertSame (1 , $ response );
396396 }
@@ -406,7 +406,7 @@ public function getListCountWithCurrentSessionKeyForExistingListWithNoSubscriber
406406 $ this ->applyDatabaseChanges ();
407407
408408 $ this ->authenticatedJsonRequest ('get ' , '/api/v2/lists/3/count ' );
409- $ response = $ this ->getIntResponseContent ();
409+ $ response = $ this ->getResponseContentAsInt ();
410410
411411 static ::assertSame (0 , $ response );
412412 }
You can’t perform that action at this time.
0 commit comments