forked from pressflow/7
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Patch #323477 by justinrandell, boombatower, tstoeckler, Damien Tou…
…rnoud: increase simpletest speed by running on a simplified profile.
- Loading branch information
Showing
7 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
; $Id$ | ||
name = Testing | ||
description = Totally stripped back testing profile. | ||
version = VERSION | ||
core = 7.x | ||
hidden = TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/** | ||
* Implements hook_install(). | ||
* | ||
* 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); | ||
|
||
// Enable default permissions for system roles. | ||
user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content')); | ||
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content')); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
// $Id$ | ||
|