FormFieldConstraint::__construct()
  • References/PHP/Laravel/Foundation/Testing/Constraints

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

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

$this withSession(array $data) Set the session to the given array.

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

$this expectsModelEvents(string $model, array|string $events) Specify a

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

void __construct(string $text, string|null $url = null) Create a new constraint

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

$this dontSeeInElement(string $element, string $text) Assert that a given

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

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

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

$this visit(string $uri) Visit the given URI with a GET request.

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

AssertionsTrait trait AssertionsTrait (

2025-01-10 15:47:30