InteractsWithSession::seeInSession()
  • References/PHP/Laravel/Foundation/Testing/Concerns

void seeInSession(string|array $key, mixed $value = null) Assert that the

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

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

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

$this withSession(array $data) Set the session to the given array.

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

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

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

$this dontSeeLink(string $text, string|null $url = null) Assert that a

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

InteractsWithContainer trait InteractsWithContainer (

2025-01-10 15:47:30