AssertionsTrait
  • References/PHP/Laravel/Foundation/Testing

AssertionsTrait trait AssertionsTrait (

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

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

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

$this seeLink(string $text, string|null $url = null, bool $negate = false)

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

$this getJson(string $uri, array $headers = array()) Visit the given URI

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

void __construct(string $selector, mixed $value) Create a new constraint

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

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

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

InteractsWithDatabase trait InteractsWithDatabase (

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

void assertSessionHasAll(array $bindings) Assert that the session has a

2025-01-10 15:47:30