Skip to content

Commit

Permalink
Dev: Don't assume prefix lime_ in test
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 24, 2017
1 parent c2d52ce commit a0b331e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/questions/DateTimeForwardBackTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function testQ1()
\LimeExpressionManager::ProcessCurrentResponses();

// Check answer in database.
$query = 'SELECT * FROM lime_survey_' . self::$surveyId;
$query = 'SELECT * FROM {{survey_' . self::$surveyId . '}}';
$result = \Yii::app()->db->createCommand($query)->queryAll();
$this->assertEquals($result[0][$sgqa], '1970-01-01 10:00:00', 'Answer in database is 10:00');

Expand Down

0 comments on commit a0b331e

Please sign in to comment.