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

ImpersonatesUsers trait ImpersonatesUsers (

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

$this actingAs(Authenticatable $user, string|null

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

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

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

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

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

Client class Client extends Client (

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

$this seeJsonEquals(array $data) Assert that the response contains an exact

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
MakesHttpRequests::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
IsSelected
  • References/PHP/Laravel/Foundation/Testing/Constraints

IsSelected class IsSelected extends

2025-01-10 15:47:30