UpdateDbHelperTest

Extends \ls\tests\TestBaseClass

since 2017-06-16
group

dbhelper

group

db

package

Default

Methods

compareAux

compareAux(array $upgradeTables,  $upgradedFrom) : void
Throws
\CException

Arguments

$upgradeTables

array

$upgradedFrom

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

setUpBeforeClass

setUpBeforeClass() 
inherited static

Tear down fixtures.

teardownAfterClass() 
static

tearDownAfterClass

tearDownAfterClass() 
inherited static

Compare database between upgrade and fresh install.

testCompareUpgradeAndFreshInstall() 
group

dbcompare

Throws
\CException

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

testDbUpgradeFrom258() 
group

upgradeall

Throws
\CException

testDbUpgradeFrom315

testDbUpgradeFrom315() 
group

from315

Throws
\CException

Run the database PHP install script.

testInstallPhp() 
group

install

Throws
\CException

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