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

$this dontSeeElement(string $selector, array $attributes = array()) Assert

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

Illuminate\Foundation\Testing\Constraints Classes

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

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

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

$this seeIsChecked(string $selector, bool $negate = false) Assert that

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
ApplicationTrait::be()
  • References/PHP/Laravel/Foundation/Testing

void be(Authenticatable $user, string|null $driver

2025-01-10 15:47:30