PHP 트레잇 Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase

파일 보기 프로젝트 열기: laravel/framework

공개 메소드들

메소드 설명
seed ( string $class = 'DatabaseSeeder' ) Seed a given database connection.

보호된 메소드들

메소드 설명
dontSeeInDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition does not exist in the database.
missingFromDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition does not exist in the database.
notSeeInDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition does not exist in the database.
seeInDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition exists in the database.

메소드 상세

dontSeeInDatabase() 보호된 메소드

Assert that a given where condition does not exist in the database.
protected dontSeeInDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

missingFromDatabase() 보호된 메소드

Assert that a given where condition does not exist in the database.
protected missingFromDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

notSeeInDatabase() 보호된 메소드

Assert that a given where condition does not exist in the database.
protected notSeeInDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

seeInDatabase() 보호된 메소드

Assert that a given where condition exists in the database.
protected seeInDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

seed() 공개 메소드

Seed a given database connection.
public seed ( string $class = 'DatabaseSeeder' )
$class string