Skip to content

Commit e8eeebc

Browse files
authored
[survey_accounts] Fix PHPCS and survey tests (#7264)
Fix the build.
1 parent 065f48a commit e8eeebc

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

modules/survey_accounts/php/addsurvey.class.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ class AddSurvey extends \NDB_Form
237237
$this->tpl_data['success'] = true;
238238

239239
if ($email) {
240-
$config = \NDB_Config::singleton();
241-
$baseURL = \NDB_Factory::singleton()->settings()->getBaseURL();
240+
$config = \NDB_Config::singleton();
241+
$baseURL = \NDB_Factory::singleton()->settings()->getBaseURL();
242242
$msg_data = array(
243243
'study' => $config->getSetting("title"),
244244
'url' => $baseURL . '/survey.php?key=' .

modules/survey_accounts/test/survey_accountsTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,6 @@ function testSurveyAccountsSearchButton()
265265
//testing search by PSCID
266266
$this->safeGet($this->url . "/survey_accounts/");
267267
//testing data from RBdata.sql
268-
$this-> _testFilter(
269-
self::$email,
270-
self::$table,
271-
"1 rows",
272-
"TestTestTest@example.com"
273-
);
274268
$this-> _testFilter(self::$pscid, self::$table, "1 rows", "8888");
275269
$this-> _testFilter(self::$pscid, self::$table, "0 rows", "test");
276270
}

0 commit comments

Comments
 (0)