Ejegg has submitted this change and it was merged.

Change subject: fix a test
......................................................................


fix a test

Change-Id: I8bf1004cb10dd302c06c570c58204e9289f5791e
---
M sites/all/modules/wmf_communication/tests/Job.test
1 file changed, 1 insertion(+), 9 deletions(-)

Approvals:
  Ejegg: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/sites/all/modules/wmf_communication/tests/Job.test 
b/sites/all/modules/wmf_communication/tests/Job.test
index 31a4d22..c211dc2 100644
--- a/sites/all/modules/wmf_communication/tests/Job.test
+++ b/sites/all/modules/wmf_communication/tests/Job.test
@@ -18,17 +18,9 @@
     }
 
     public function setUp() {
-        // FIXME: cheat by taking some variables from the live db
-        $phpmailerDir = variable_get( 'wmf_common_phpmailer_location', '' );
-        $twigDir = variable_get( 'wmf_common_twig_location', '' );
-        $diDir = variable_get( 'wmf_common_di_location', '' );
-
         parent::setUp( 'wmf_communication', 'wmf_common' );
 
-        variable_set( 'wmf_common_phpmailer_location', $phpmailerDir );
-        variable_set( 'wmf_common_twig_location', $twigDir );
-        variable_set( 'wmf_common_di_location', $diDir );
-
+        // FIXME
         variable_set( 'thank_you_from_address', 't...@localhost.net' );
         variable_set( 'thank_you_from_name', 'Testus' );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/160238
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8bf1004cb10dd302c06c570c58204e9289f5791e
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Awight <awi...@wikimedia.org>
Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to