InteractsWithDatabase
  • References/PHP/Laravel/Foundation/Testing/Concerns

InteractsWithDatabase trait InteractsWithDatabase (

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

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

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

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

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

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

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

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

2025-01-10 15:47:30