UserFrosting API

DatabaseMigratorIntegrationTest extends TestCase

Migrator Tests

Table of Contents

$connection string
$migrationTable string
$schema Builder
$migrator Migrator
$locator MigrationLocator
$repository DatabaseMigrationRepository
setUp() Setup migration instances used for all tests void
testMigrationRepositoryCreated() mixed
testBasicMigration() mixed
testRepository() mixed
testMigrationsCanBeRolledBack() mixed
testMigrationsCanBeReset() mixed
testNoErrorIsThrownWhenNoOutstandingMigrationsExist() mixed
testNoErrorIsThrownWhenNothingToRollback() mixed
testPretendUp() mixed
testPretendRollback() mixed
testChangeRepositoryAndDeprecatedClass() mixed
testWithInvalidClass() mixed
testDependableMigrations() mixed
testDependableMigrationsWithInstalled() mixed
testUnfulfillableMigrations() mixed
testSpecificMigrationCanBeRollback() mixed
testSpecificMigrationRollbackWithDependencies() mixed

Properties

Methods

testNoErrorIsThrownWhenNoOutstandingMigrationsExist()

public testNoErrorIsThrownWhenNoOutstandingMigrationsExist( ) : mixed
Return values
mixed

testSpecificMigrationRollbackWithDependencies()

public testSpecificMigrationRollbackWithDependencies( ) : mixed
Return values
mixed

Search results