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

$this assertViewHasAll(array $bindings) Assert that the view has a given

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

void assertHasOldInput() Assert that the session has old input.

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

$this withoutMiddleware() Disable middleware for the test.

2025-01-10 15:47:30
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::get()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this get(string $uri, array $headers = array()) Visit the given URI with

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

ImpersonatesUsers trait ImpersonatesUsers (

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::patch()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this patch(string $uri, array $data = array(), array $headers = array())

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
MakesHttpRequests::seeText()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this seeText(string $text, bool $negate = false) Assert that a given string

2025-01-10 15:47:30