UpdateDbHelperTest

Extends \ls\tests\TestBaseClass

since 2017-06-16
group

dbhelper

group

db

Methods

Tear down fixtures.

teardownAfterClass() 
static

Run the database PHP install script.

testInstallPhp() 
group

install

throws

Run db_upgrade_all() from dbversion 258, to make sure there are no conflicts or syntax errors.

testDbUpgradeFrom258() 
group

upgradeall

throws

testDbUpgradeFrom315

testDbUpgradeFrom315() 
group

from315

throws

Compare database between upgrade and fresh install.

testCompareUpgradeAndFreshInstall() 
group

dbcompare

throws

compareAux

compareAux(array $upgradeTables, $upgradedFrom) : void
throws

Arguments

$upgradeTables

array

$upgradedFrom

setUpBeforeClass

setUpBeforeClass() 
inherited static

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

tearDownAfterClass

tearDownAfterClass() 
inherited static

Properties

testHelper

testHelper : \ls\tests\TestHelper
inherited static
var

Type(s)

\ls\tests\TestHelper

tempFolder

tempFolder : string
inherited static
var

Type(s)

string

screenshotsFolder

screenshotsFolder : string
inherited static
var

Type(s)

string

surveysFolder

surveysFolder : string
inherited static
var

Type(s)

string

dataFolder

dataFolder : string
inherited static
var

Type(s)

string

viewsFolder

viewsFolder : string
inherited static
var

Type(s)

string

testSurvey

testSurvey : \Survey
inherited static
var

Type(s)

\Survey

surveyId

surveyId : integer
inherited static
var

Type(s)

integer