Property | Type | Description | |
---|---|---|---|
$app | The application instance. | ||
$code | integer | The last code returned by artisan cli. |
Method | Description | |
---|---|---|
actingAs ( Illuminate\Contracts\Auth\Authenticatable $user, string | null $driver = null ) | Set the currently logged in user for the application. | |
artisan ( string $command, array $parameters = [] ) : integer | Call artisan command and return code. | |
be ( Illuminate\Contracts\Auth\Authenticatable $user, string $driver = null ) : void | Set the currently logged in user for the application. | |
expectsEvents ( array | dynamic $events ) | Specify a list of events that should be fired for the given operation. | |
flushSession ( ) : void | Flush all of the current session data. | |
seed ( string $class = 'DatabaseSeeder' ) : void | Seed a given database connection. | |
session ( array $data ) : void | Set the session to the given array. | |
withSession ( array $data ) | Set the session to the given array. |
Method | Description | |
---|---|---|
expectsJobs ( array | dynamic $jobs ) | Specify a list of jobs that should be dispatched for the given operation. | |
missingFromDatabase ( string $table, array $data ) | Assert that a given where condition does not exist in the database. | |
notSeeInDatabase ( string $table, array $data ) | Assert that a given where condition does not exist in the database. | |
refreshApplication ( ) : void | Refresh the application instance. | |
seeInDatabase ( string $table, array $data ) | Assert that a given where condition exists in the database. | |
startSession ( ) : void | Start the session for the application. | |
withoutEvents ( ) | Mock the event dispatcher so all events are silenced. |
public expectsEvents ( array | dynamic $events ) | ||
$events | array | dynamic |
protected expectsJobs ( array | dynamic $jobs ) | ||
$jobs | array | dynamic |
public flushSession ( ) : void | ||
return | void |
protected missingFromDatabase ( string $table, array $data ) | ||
$table | string | |
$data | array |
protected notSeeInDatabase ( string $table, array $data ) | ||
$table | string | |
$data | array |
protected refreshApplication ( ) : void | ||
return | void |
protected seeInDatabase ( string $table, array $data ) | ||
$table | string | |
$data | array |
protected startSession ( ) : void | ||
return | void |
public withSession ( array $data ) | ||
$data | array |
protected withoutEvents ( ) |
protected Application,Laravel\Lumen $app | ||
return |
protected int $code | ||
return | integer |