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

$this assertRedirectedToAction(string $name, array $parameters = array(), array $with = array())

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

bool matches(Crawler $crawler) Reverse the original page constraint result

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

string getFailureDescription() Returns the description of the failure.

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

$this assertResponseOk() Assert that the client response has an OK status

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

void flushSession() Flush all of the current session data.

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

$this doesntExpectEvents(array|string $events) Specify a list of events

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

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

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

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

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

$this dontSeeCredentials(array $credentials, string|null $guard = null) Assert

2025-01-10 15:47:30