Property | Type | Description | |
---|---|---|---|
$testData | array | ||
$testModel | TestModel |
Method | Description | |
---|---|---|
setUp ( ) : void | Setup the test environment. |
Method | Description | |
---|---|---|
assertArrayValuesAreEqual ( array $expected, array $actual ) | Custom test to see if two arrays have the same values, regardless of indices or order. | |
getEnvironmentSetUp ( Illuminate\Foundation\Application $app ) : void | Define environment setup. | |
getPackageProviders ( Illuminate\Foundation\Application $app ) : array | Get package providers. | |
newModel ( array $data = ['title' => 'test'] ) : TestModel | Helper to generate a test model | |
setUpDatabase ( Illuminate\Foundation\Application $app ) |
protected assertArrayValuesAreEqual ( array $expected, array $actual ) | ||
$expected | array | |
$actual | array |
protected getEnvironmentSetUp ( Illuminate\Foundation\Application $app ) : void | ||
$app | Illuminate\Foundation\Application | |
return | void |
protected getPackageProviders ( Illuminate\Foundation\Application $app ) : array | ||
$app | Illuminate\Foundation\Application | |
return | array |
protected setUpDatabase ( Illuminate\Foundation\Application $app ) | ||
$app | Illuminate\Foundation\Application |
protected TestModel,Cviebrock\EloquentTaggable\Test $testModel | ||
return | TestModel |