TestCase::assertRedirectedToRoute()
  • References/PHP/Laravel/Foundation/Testing

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

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

ApplicationTrait trait ApplicationTrait (

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

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

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

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

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
HasText::toString()
  • References/PHP/Laravel/Foundation/Testing/Constraints

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

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

$this postJson(string $uri, array $data = array(), array $headers = array())

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

$this deleteJson(string $uri, array $data = array(), array $headers = array())

2025-01-10 15:47:30