TestCase::be()

void be(Authenticatable $user, string|null $driver = null) Set the currently logged in user for the application. Parameters Authenticatable $user string|null $driver Return Value void

TestCase::assertViewMissing()

$this assertViewMissing(string $key) Assert that the response view is missing a piece of bound data. Parameters string $key Return Value $this

TestCase::assertViewHasAll()

$this assertViewHasAll(array $bindings) Assert that the view has a given list of bound data. Parameters array $bindings Return Value $this

TestCase::assertViewHas()

$this assertViewHas(string|array $key, mixed $value = null) Assert that the response view has a given piece of bound data. Parameters string|array $key mixed $value Return Value $this

TestCase::assertSessionMissing()

void assertSessionMissing(string|array $key) Assert that the session does not have a given key. Parameters string|array $key Return Value void

TestCase::assertSessionHasErrors()

void assertSessionHasErrors(string|array $bindings = array(), mixed $format = null) Assert that the session has errors bound. Parameters string|array $bindings mixed $format Return Value void

TestCase::assertSessionHasAll()

void assertSessionHasAll(array $bindings) Assert that the session has a given list of values. Parameters array $bindings Return Value void

TestCase::assertSessionHas()

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

TestCase::assertResponseStatus()

$this assertResponseStatus(int $code) Assert that the client response has a given code. Parameters int $code Return Value $this

TestCase::assertResponseOk()

$this assertResponseOk() Assert that the client response has an OK status code. Return Value $this