InteractsWithConsole::artisan()
  • References/PHP/Laravel/Foundation/Testing/Concerns

int artisan(string $command, array $parameters = array()) Call artisan

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

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

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

bool matches(Crawler|string $crawler) Check if the input contains the expected

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

string toString() Returns a string representation of the object.

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

$this visitRoute(string $route, array $parameters = array()) Visit the

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

$this seeInElement(string $element, string $text, bool $negate = false) Assert

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

void seed(string $class = 'DatabaseSeeder') Seed a given database connection

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

$this doesntExpectModelEvents(string $model, array|string $events) Specify

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

void assertSessionHas(string|array $key, mixed $value = null) Assert that

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

$this dontSee(string $text) Assert that a given string is not seen on the

2025-01-10 15:47:30