DateTimeTest

Extends \ls\tests\TestBaseClass

since 2017-06-13

Methods

Import survey in tests/surveys/.

setupBeforeClass() 
static

Destroy what had been imported.

teardownAfterClass() 
static

"currentQset" in EM.

getQuestionSetForQ2(\Question $question, \QuestionGroup $group, $sgqa) 

Arguments

$question

\Question

$sgqa

Test wrong date input and error message.

testWrongInput() 

Test correct date.

testCorrectDateFormat() 

q1 is hidden question with default answer "now".

testQ1() 
group

q1

__construct

__construct() 
inherited

Properties

surveyId

surveyId : int
static
var

Type(s)

int

testHelper

testHelper : \ls\tests\TestHelper
inherited static
var

Type(s)

\ls\tests\TestHelper