From 18a194119d216cb1225a440a57ceb66dfe61ba5d Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Wed, 7 Dec 2016 16:07:08 -0500 Subject: [PATCH] Removing testProd PHPUnit test. (#771) --- tests/phpunit/BltProject/SettingsTest.php | 29 ----------------------- 1 file changed, 29 deletions(-) diff --git a/tests/phpunit/BltProject/SettingsTest.php b/tests/phpunit/BltProject/SettingsTest.php index 6f73b1f8e..673eda8fe 100644 --- a/tests/phpunit/BltProject/SettingsTest.php +++ b/tests/phpunit/BltProject/SettingsTest.php @@ -11,35 +11,6 @@ */ class SettingsTest extends BltProjectTestBase { - /** - * Sets up require parameters for tests to run. - * - * @param string $env - * The acquia environment being simulated. E.g., prod, test, dev, etc. - */ - public function setupParams($env) { - $_ENV['AH_SITE_ENVIRONMENT'] = $env; - $_ENV['AH_SITE_NAME'] = $_ENV['AH_SITE_GROUP'] = 'blt'; - // @codingStandardsIgnoreStart - $_SERVER['REMOTE_ADDR'] = '127.0.0.1'; - // @codingStandardsIgnoreEnd - if (!defined('DRUPAL_ROOT')) { - define('DRUPAL_ROOT', $this->drupalRoot); - } - } - - /** - * Test configuration for production environment on ACE. - * - * @group blt-project - */ - public function testProd() { - $this->setupParams('prod'); - require $this->drupalRoot . '/sites/default/settings.php'; - - $this->assertContains($config['system.logging']['error_level'], 'hide'); - } - /** * Tests Phing setup:drupal:settings target. *