UserFrosting API

MigrationRepositoryTest extends TestCase Uses MockeryPHPUnitIntegration

DatabaseMigrationRespository Test

Table of Contents

$repository
tearDown() void
setUp() void
testGetRanMigrationsListMigrationsByPackage() mixed
testGetLastBatchNumberReturnsMaxBatch() mixed
testGetLastMigrationsGetsAllMigrationsWithTheLatestBatchNumber() mixed
testLogMethodInsertsRecordIntoMigrationTable() mixed
testDeleteMethodRemovesAMigrationFromTheTable() mixed
testGetNextBatchNumberReturnsLastBatchNumberPlusOne() mixed
testCreateRepositoryCreatesProperDatabaseTable() mixed

Properties

Methods

testGetRanMigrationsListMigrationsByPackage()

public testGetRanMigrationsListMigrationsByPackage( ) : mixed
Return values
mixed

testGetLastBatchNumberReturnsMaxBatch()

public testGetLastBatchNumberReturnsMaxBatch( ) : mixed
Return values
mixed

testGetLastMigrationsGetsAllMigrationsWithTheLatestBatchNumber()

public testGetLastMigrationsGetsAllMigrationsWithTheLatestBatchNumber( ) : mixed
Return values
mixed

testLogMethodInsertsRecordIntoMigrationTable()

public testLogMethodInsertsRecordIntoMigrationTable( ) : mixed
Return values
mixed

testDeleteMethodRemovesAMigrationFromTheTable()

public testDeleteMethodRemovesAMigrationFromTheTable( ) : mixed
Return values
mixed

testGetNextBatchNumberReturnsLastBatchNumberPlusOne()

public testGetNextBatchNumberReturnsLastBatchNumberPlusOne( ) : mixed
Return values
mixed

testCreateRepositoryCreatesProperDatabaseTable()

public testCreateRepositoryCreatesProperDatabaseTable( ) : mixed
Return values
mixed

Search results