ApplicationTrait
trait ApplicationTrait (View source)
Methods
$this expectsEvents(array|mixed $events) Specify a list of events that should be fired for the given operation. $this withSession(array $data) Set the session to the given array. void session(array $data) Set the session to the given array. void flushSession() Flush all of the current session data. $this withoutMiddleware() Disable middleware for the test. $this actingAs(Authenticatable $user, string|nu