AssertionsTrait::assertRedirectedTo()
  • References/PHP/Laravel/Foundation/Testing

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

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

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

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

$this seeIsAuthenticatedAs($user, string|null $guard = null) Assert that

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

$this withoutMiddleware() Disable middleware for the test.

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

HttpException class HttpException extends PHPUnit_Framework_ExpectationFailedException (

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

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

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

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

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

$this withoutMiddleware() Disable middleware for the test.

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

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

2025-01-10 15:47:30