Skip to content

Commit

Permalink
DEV: restructure tests: move Helpers tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Jan 9, 2018
1 parent 3c6c49a commit cb7629d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 deletions.
1 change: 1 addition & 0 deletions tests/acceptance/surveys/AjaxModeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use Facebook\WebDriver\WebDriverBy;
use Facebook\WebDriver\Exception\NoSuchElementException;
use ls\tests\TestBaseClassWeb;

/**
* @since 2017-11-13
* @group ajaxmode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
<?php
/**
* LimeSurvey
* Copyright (C) 2007-2011 The LimeSurvey Project Team / Carsten Schmitz
* All rights reserved.
* License: GNU/GPL License v2 or later, see LICENSE.php
* LimeSurvey is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

namespace ls\tests;
namespace ls\tests\acceptance\surveys;

use Facebook\WebDriver\WebDriverExpectedCondition;
use Facebook\WebDriver\WebDriverBy;
use ls\tests\TestBaseClassWeb;

/**
* @since 2017-11-02
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

namespace ls\tests;
namespace ls\tests\functional\helpers;

use ls\tests\TestBaseClass;

/**
* Check the JSON saved in database.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

namespace ls\tests;
namespace ls\tests\functional\helpers;

use PHPUnit\Framework\TestCase;

Expand Down Expand Up @@ -118,10 +117,6 @@ public function compareExpression()

/**
* JS code to setup environment so LEMval() can run.
* @param string $sgqa
* @param mixed $value
* @param string $alias
* @param int $onlynum
* @return string
*/
public function getDummyNodeSetup()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
namespace ls\tests\functional\helpers;

namespace ls\tests;
use ls\tests\TestBaseClass;

/**
* Test expression evaluation in PHP vs JS.
Expand Down
File renamed without changes.

0 comments on commit cb7629d

Please sign in to comment.