MakesHttpRequests::assertResponseStatus()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this assertResponseStatus(int $code) Assert that the client response has

2025-01-10 15:47:30
MakesHttpRequests::json()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this json(string $method, string $uri, array $data = array(), array $headers = array())

2025-01-10 15:47:30
ImpersonatesUsers::actingAs()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this actingAs(Authenticatable $user, string|null

2025-01-10 15:47:30
MakesHttpRequests::dontSeeIsChecked()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this dontSeeIsChecked(string $selector) Assert that the given checkbox

2025-01-10 15:47:30
MakesHttpRequests::dontSee()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this dontSee(string $text) Assert that a given string is not seen on the

2025-01-10 15:47:30
MakesHttpRequests::seeInElement()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this seeInElement(string $element, string $text, bool $negate = false) Assert

2025-01-10 15:47:30
InteractsWithPages::dontSeeElement()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this dontSeeElement(string $selector, array $attributes = array()) Assert

2025-01-10 15:47:30
MakesHttpRequests::seeJsonEquals()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this seeJsonEquals(array $data) Assert that the response contains an exact

2025-01-10 15:47:30
InteractsWithSession::assertSessionMissing()
  • References/PHP/Laravel/Foundation/Testing/Concerns

void assertSessionMissing(string|array $key) Assert that the session does

2025-01-10 15:47:30
InteractsWithAuthentication::seeIsAuthenticatedAs()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this seeIsAuthenticatedAs($user, string|null $guard = null) Assert that

2025-01-10 15:47:30