ImpersonatesUsers::actingAs()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this actingAs(Authenticatable $user, string|null

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

bool matches(Crawler|string $crawler) Check if the source or text is found

2025-01-10 15:47:30
TestCase::dontSeeText()
  • References/PHP/Laravel/Foundation/Testing

$this dontSeeText(string $text) Assert that a given string is not seen

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

void session(array $data) Set the session to the given 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
MakesHttpRequests::seeInElement()
  • References/PHP/Laravel/Foundation/Testing/Concerns

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

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

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

2025-01-10 15:47:30