TestCase::seeInSession()

void seeInSession(string|array $key, mixed $value = null) Assert that the session has a given value. Parameters string|array $key mixed $value Return Value void

TestCase::seeInField()

$this seeInField(string $selector, string $expected, bool $negate = false) Assert that an input field contains the given value. Parameters string $selector string $expected bool $negate Return Value $this

TestCase::seeInElement()

$this seeInElement(string $element, string $text, bool $negate = false) Assert that a given string is seen inside an element. Parameters string $element string $text bool $negate Return Value $this

TestCase::seeElement()

$this seeElement(string $selector, array $attributes = array(), bool $negate = false) Assert that an element is present on the page. Parameters string $selector array $attributes bool $negate Return Value $this

TestCase::seed()

void seed(string $class = 'DatabaseSeeder') Seed a given database connection. Parameters string $class Return Value void

TestCase::seeCredentials()

$this seeCredentials(array $credentials, string|null $guard = null) Assert that the given credentials are valid. Parameters array $credentials string|null $guard Return Value $this

TestCase::see()

$this see(string $text, bool $negate = false) Assert that a given string is seen on the current HTML. Parameters string $text bool $negate Return Value $this

TestCase::route()

Response route(string $method, string $name, array $routeParameters = array(), array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null) Call a named route and return the Response. Parameters string $method string $name array $routeParameters array $parameters array $cookies array $files array $server string $content Return Value Response

TestCase::putJson()

$this putJson(string $uri, array $data = array(), array $headers = array()) Visit the given URI with a PUT request, expecting a JSON response. Parameters string $uri array $data array $headers Return Value $this

TestCase::put()

$this put(string $uri, array $data = array(), array $headers = array()) Visit the given URI with a PUT request. Parameters string $uri array $data array $headers Return Value $this