update to drupal 7.23

This commit is contained in:
Bachir Soussi Chiadmi
2013-09-24 09:05:59 +02:00
parent db5f70501a
commit e539e701f8
247 changed files with 4921 additions and 4058 deletions

View File

@@ -4,8 +4,8 @@ package = Testing
core = 7.x
hidden = TRUE
; Information added by drupal.org packaging script on 2013-04-03
version = "7.22"
; Information added by drupal.org packaging script on 2013-08-08
version = "7.23"
project = "drupal"
datestamp = "1365027012"
datestamp = "1375928238"

View File

@@ -6,8 +6,8 @@ core = 7.x
files[] = trigger.test
configure = admin/structure/trigger
; Information added by drupal.org packaging script on 2013-04-03
version = "7.22"
; Information added by drupal.org packaging script on 2013-08-08
version = "7.23"
project = "drupal"
datestamp = "1365027012"
datestamp = "1375928238"

View File

@@ -114,10 +114,10 @@ class TriggerContentTestCase extends TriggerWebTestCase {
// Assign an action to the node save/update trigger.
$test_user = $this->drupalCreateUser(array('administer actions', 'administer nodes', 'create page content', 'access administration pages', 'access content overview'));
$this->drupalLogin($test_user);
$nodes = array();
for ($index = 0; $index < 3; $index++) {
$edit = array('title' => $this->randomName());
$this->drupalPost('node/add/page', $edit, t('Save'));
$nodes[] = $this->drupalCreateNode(array('type' => 'page'));
}
$action_id = 'trigger_test_generic_any_action';
@@ -127,8 +127,8 @@ class TriggerContentTestCase extends TriggerWebTestCase {
$edit = array(
'operation' => 'unpublish',
'nodes[1]' => TRUE,
'nodes[2]' => TRUE,
'nodes[' . $nodes[0]->nid . ']' => TRUE,
'nodes[' . $nodes[1]->nid . ']' => TRUE,
);
$this->drupalPost('admin/content', $edit, t('Update'));
$count = variable_get('trigger_test_generic_any_action', 0);