Skip to content

Commit

Permalink
Removing testProd PHPUnit test. (acquia#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Dec 7, 2016
1 parent 8eb07ac commit 18a1941
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions tests/phpunit/BltProject/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 18a1941

Please sign in to comment.