TestCase::seeJsonEquals()
  • References/PHP/Laravel/Foundation/Testing

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

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

$this post(string $uri, array $data = array(), array $headers = array()) Visit

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
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
IsChecked::matches()
  • References/PHP/Laravel/Foundation/Testing/Constraints

bool matches(Crawler|string $crawler) Determine if the checkbox is checked

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

$this withoutObservers(array|string $observers) Specify a list of observers

2025-01-10 15:47:30
HasText
  • References/PHP/Laravel/Foundation/Testing/Constraints

HasText class HasText extends

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

$this visitRoute(string $route, array $parameters = array()) Visit the

2025-01-10 15:47:30
InteractsWithPages::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