Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Jan 2, 2018
1 parent 351961d commit a151820
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tests/controllers/InstallationControllerTest.php
Expand Up @@ -154,7 +154,6 @@ public function testBasic()
// Login & assert.
self::adminLogin($username, $password);


} catch (NoSuchElementException $ex) {
self::$testHelper->takeScreenshot(self::$webDriver, (new \ReflectionClass($this))->getShortName() . '_' . __FUNCTION__);
$this->assertFalse(
Expand Down
1 change: 1 addition & 0 deletions tests/surveys/MultipleChoiceWithExpressionTest.php
Expand Up @@ -62,6 +62,7 @@ public function testBasic()
// Check that equation reacts.
$equation = self::$webDriver->findElement(WebDriverBy::id('question' . $questions['equation1']->qid));
$equestionText = $equation->getText();
self::takeScreenShot('ywwww');
$trues = substr_count($equestionText, 'true');
$this->assertEquals(2, $trues, 'Found two "true"');

Expand Down

0 comments on commit a151820

Please sign in to comment.