uppdated modules

This commit is contained in:
Bachir Soussi Chiadmi
2017-01-22 16:19:36 +01:00
parent 03be8f82aa
commit 8416e3eea1
748 changed files with 32317 additions and 20900 deletions
@@ -36,13 +36,6 @@ class ContextConditionUserTest extends DrupalWebTestCase {
$this->assertTrue($saved, "Context 'testcontext' saved.");
}
function tearDown() {
parent::tearDown();
context_delete($this->context);
user_delete($this->user1->uid);
user_delete($this->user2->uid);
}
function test() {
// User 1 triggers the context.
$this->drupalLogin($this->user1);
@@ -82,14 +75,6 @@ class ContextConditionUserPageTest extends DrupalWebTestCase {
$this->assertTrue($saved, "Context 'testcontext' saved.");
}
function tearDown() {
parent::tearDown();
context_delete($this->context);
$edit = array();
user_delete($this->user1->uid);
user_delete($this->user2->uid);
}
function test() {
// Viewing any user profile triggers context.
$this->drupalLogin($this->user1);
@@ -157,13 +142,6 @@ class ContextConditionNodeTaxonomyTest extends DrupalWebTestCase {
$this->assertTrue($saved, "Context 'testcontext' saved.");
}
function tearDown() {
parent::tearDown();
context_delete($this->context);
taxonomy_term_delete($this->terms['apples']->tid);
taxonomy_term_delete($this->terms['oranges']->tid);
}
function test() {
// Apples does trigger the context.
$edit = array(