PHP Trait InteractsWithDatabase

Inheritance: use trait Illuminate\Foundation\Testing\DatabaseTransactions
Mostra file Open project: austintoddj/canvas

Public Methods

Method Description
runDatabaseMigrations ( ) : void Define hooks to migrate the database before and after each test.

Protected Methods

Method Description
setUp ( ) : void Set up the test environment.

Method Details

runDatabaseMigrations() public method

Define hooks to migrate the database before and after each test.
public runDatabaseMigrations ( ) : void
return void

setUp() protected method

Set up the test environment.
protected setUp ( ) : void
return void