MakesHttpRequests::assertRedirectedTo()
  • References/PHP/Laravel/Foundation/Testing/Concerns

$this assertRedirectedTo(string $uri, array $with = array()) Assert whether

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

$this assertViewHasAll(array $bindings) Assert that the view has a given

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

$this dontSeeIsSelected(string $selector, string $value) Assert that the

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

void session(array $data) Set the session to the given array.

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

$this seeInField(string $selector, string $expected, bool $negate = false)

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

void __construct(string $element, string $text) Create a new constraint

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

$this see(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
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
ApplicationTrait::withoutMiddleware()
  • References/PHP/Laravel/Foundation/Testing

$this withoutMiddleware() Disable middleware for the test.

2025-01-10 15:47:30