This file contains hidden or 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
<?php | |
/** | |
* @file | |
* Test case for Drupal tests using a given install profile. | |
* | |
* Based on work that is copyright 2008-2009 by Jimmy Berry ("boombatower", http://drupal.org/user/214218) | |
*/ | |
class ProvisionWebTestCase extends DrupalWebTestCase { | |
protected function getProfileName() { |
This file contains hidden or 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
<?php | |
/** | |
* This file goes in ~/.drush/ | |
* Rename to GROUPNAME.aliases.drushrc.php | |
* | |
* Examples (run from any path on your local environment): | |
* | |
* drush @example.dev status | |
* drush sql-sync @example.stage @example.dev | |
* |
This file contains hidden or 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
#!/bin/bash | |
# Sync a Drupal database and contents of files directory between two | |
# development environments. | |
# | |
# Execute this script on the destination (DEST) server. | |
# A MEMBERNAME.aliases.drushrc.php file is required on the SOURCE server. | |
# See http://gist.github.com/421721 and remove example.local alias | |
This file contains hidden or 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
core = 6.x | |
projects[] = drupal | |
; Profile | |
projects[simple][type] = "profile" | |
projects[simple][download][type] = "git" | |
projects[simple][download][url] = "git://github.com/sprice/simple.git" | |
; Features | |
projects[simple_context][subdir] = "features" |
This file contains hidden or 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
core = 6.x | |
projects[drupal][version] = 6.17 | |
; Contrib | |
projects[admin][subdir] = "contrib" | |
projects[admin][version] = "2.0-beta4" | |
projects[rules][subdir] = "contrib" | |
projects[rules][version] = "1.2" |
This file contains hidden or 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
core = "6.x" | |
projects[openatrium][type] = "profile" | |
projects[openatrium][download][type] = "cvs" | |
projects[openatrium][download][date] = 2010-06-26 | |
projects[openatrium][download][root] = ":pserver:anonymous:[email protected]:/cvs/drupal-contrib" | |
projects[openatrium][download][module] = "contributions/profiles/openatrium" |
This file contains hidden or 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
diff --git atrium/tests/atrium.test atrium/tests/atrium.test | |
index 51ea730..da5d38f 100644 | |
--- atrium/tests/atrium.test | |
+++ atrium/tests/atrium.test | |
@@ -77,7 +77,7 @@ class AtriumTest extends AtriumWebTestCase { | |
*/ | |
function test403() { | |
$this->drupalLogout(); | |
- $this->drupalGet('node'); | |
+ $this->drupalGet("node/{$this->atriumGroups['private']->nid}"); |
This file contains hidden or 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
diff --git atrium_test/atrium_web_test_case.php atrium_test/atrium_web_test_case.php | |
index 8c04bc3..09987d7 100644 | |
--- atrium_test/atrium_web_test_case.php | |
+++ atrium_test/atrium_web_test_case.php | |
@@ -108,6 +108,9 @@ class AtriumWebTestCase extends DrupalWebTestCase { | |
variable_set('install_task', 'profile-finished'); | |
variable_set('clean_url', $clean_url_original); | |
variable_set('site_mail', '[email protected]'); | |
+ // Use the test mail class instead of the default mail handler class. | |
+ // variable_set('mail_sending_system', array('default-system' => 'TestingMailSystem')); |
This file contains hidden or 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
core=6.x | |
projects[] = drupal | |
projects[privatemsg][type] = module | |
projects[privatemsg][subdir] = contrib | |
projects[privatemsg][download][type] = cvs | |
projects[privatemsg][download][module] = contributions/modules/privatemsg | |
projects[privatemsg][download][revision] = HEAD:2010-08-20 |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<title> |
OlderNewer