Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Laravel
Lumen
Testing
CrawlerTrait
shouldReturnJson
Laravel\Lumen\Testing\CrawlerTrait::shouldReturnJson PHP Method
CrawlerTrait Trait Documentation
Datei anzeigen
Open project: ctrlaltdylan/MirrorMirror
shouldReturnJson()
protected
method
Assert that the response contains JSON.
protected
shouldReturnJson
(
array
$data
= null )
$data
array
protected function shouldReturnJson(array $data = null) { return $this->receiveJson($data); }
CrawlerTrait
action
assertFilterProducesResults
assertPageLoaded
attach
call
callSecure
check
clearInputs
click
delete
dontSee
dump
extractParametersFromForm
fillForm
filterByNameOrId
followRedirects
formatToExpectedJson
get
getForm
handle
landOn
makeRequest
makeRequestUsingForm
onPage
patch
post
prepareUrlForRequest
press
put
receiveJson
route
see
seeJson
seeJsonContains
seeJsonEquals
seePageIs
seeStatusCode
select
shouldReturnJson
storeInput
submitForm
transformHeadersToServerVars
type
visit
withoutMiddleware