InteractsWithContainer
  • References/PHP/Laravel/Foundation/Testing/Concerns

InteractsWithContainer trait InteractsWithContainer (

2025-01-10 15:47:30
HasInElement::__construct()
  • References/PHP/Laravel/Foundation/Testing/Constraints

void __construct(string $element, string $text) Create a new constraint

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

$this seeInField(string $selector, string $expected, bool $negate = false)

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
ImpersonatesUsers
  • References/PHP/Laravel/Foundation/Testing/Concerns

ImpersonatesUsers trait ImpersonatesUsers (

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

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

2025-01-10 15:47:30