TestCase::visit()

$this visit(string $uri) Visit the given URI with a GET request. Parameters string $uri Return Value $this

TestCase::visitRoute()

$this visitRoute(string $route, array $parameters = array()) Visit the given named route with a GET request. Parameters string $route array $parameters Return Value $this

TestCase::seeJsonEquals()

$this seeJsonEquals(array $data) Assert that the response contains an exact JSON array. Parameters array $data Return Value $this

TestCase::seeLink()

$this seeLink(string $text, string|null $url = null, bool $negate = false) Assert that a given link is seen on the page. Parameters string $text string|null $url bool $negate Return Value $this

TestCase::seeJson()

$this seeJson(array $data = null, bool $negate = false) Assert that the response contains JSON. Parameters array $data bool $negate Return Value $this

TestCase::seeJsonStructure()

$this seeJsonStructure(array $structure = null, array|null $responseData = null) Assert that the JSON response has a given structure. Parameters array $structure array|null $responseData Return Value $this

TestCase::seeIsAuthenticated()

$this seeIsAuthenticated(string|null $guard = null) Assert that the user is authenticated. Parameters string|null $guard Return Value $this

TestCase::seeIsSelected()

$this seeIsSelected(string $selector, string $value, bool $negate = false) Assert that the expected value is selected. Parameters string $selector string $value bool $negate Return Value $this

TestCase::seeIsAuthenticatedAs()

$this seeIsAuthenticatedAs($user, string|null $guard = null) Assert that the user is authenticated as the given user. Parameters $user string|null $guard Return Value $this

TestCase::seeIsChecked()

$this seeIsChecked(string $selector, bool $negate = false) Assert that the given checkbox is selected. Parameters string $selector bool $negate Return Value $this