Client
  • References/PHP/Laravel/Foundation/Testing

Client class Client extends Client (

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

$this withSession(array $data) Set the session to the given array.

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

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

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

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

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

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

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

InteractsWithContainer trait InteractsWithContainer (

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

$this expectsEvents(array|mixed $events) Specify a list of events that

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

$this seeInField(string $selector, string $expected, bool $negate = false)

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

$this seeJsonStructure(array $structure = null, array|null $responseData = null)

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

$this handle(Request $request)

2025-01-10 15:47:30