summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-27 12:36:53 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-27 12:36:53 +0000
commita4ed5f2cdf5fa9e000db96df5550d5e582e5846b (patch)
tree4220ab656855cc1695f87c3a935be52525451661
parent94bf1a44a9def2571c81502d4fdaf891b2da89cd (diff)
downloadbrdo-a4ed5f2cdf5fa9e000db96df5550d5e582e5846b.tar.gz
brdo-a4ed5f2cdf5fa9e000db96df5550d5e582e5846b.tar.bz2
#323477 follow-up by sun: Minor follow-ups to testing profile.
-rw-r--r--modules/simpletest/drupal_web_test_case.php4
-rw-r--r--profiles/testing/testing.info2
-rw-r--r--profiles/testing/testing.install3
3 files changed, 4 insertions, 5 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 739aaa74f..d9a1fa29c 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1221,8 +1221,8 @@ class DrupalWebTestCase extends DrupalTestCase {
// Run the profile tasks.
$install_profile_module_exists = db_query("SELECT 1 FROM {system} WHERE type = 'module' AND name = :name", array(
- ':name' => $this->profile))
- ->fetchField();
+ ':name' => $this->profile,
+ ))->fetchField();
if ($install_profile_module_exists) {
module_enable(array($this->profile), FALSE);
}
diff --git a/profiles/testing/testing.info b/profiles/testing/testing.info
index a82b1158a..87c14641e 100644
--- a/profiles/testing/testing.info
+++ b/profiles/testing/testing.info
@@ -1,6 +1,6 @@
; $Id$
name = Testing
-description = Totally stripped back testing profile.
+description = Minimal profile for running tests. Includes absolutely required modules only.
version = VERSION
core = 7.x
hidden = TRUE
diff --git a/profiles/testing/testing.install b/profiles/testing/testing.install
index 74a1fff00..28b262708 100644
--- a/profiles/testing/testing.install
+++ b/profiles/testing/testing.install
@@ -1,4 +1,5 @@
<?php
+// $Id$
/**
* Implements hook_install().
@@ -6,7 +7,6 @@
* Perform actions to set up the site for this profile.
*/
function testing_install() {
-
// Allow visitor account creation, but with administrative approval.
variable_set('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL);
@@ -14,4 +14,3 @@ function testing_install() {
user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content'));
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content'));
}
-