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

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

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

void assertHasOldInput() Assert that the session has old input.

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

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

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

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

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

$this visit(string $uri) Visit the given URI with a GET request.

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

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

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

InteractsWithSession trait InteractsWithSession (

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

void afterApplicationCreated(callable $callback) Register a callback to

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

$this within(string $element, Closure $callback)

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

$this assertResponseStatus(int $code) Assert that the client response has

2025-01-10 15:47:30