diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/UserAttributesTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/UserAttributesTest.php index 073490d..1839510 100644 --- a/core/modules/rdf/lib/Drupal/rdf/Tests/UserAttributesTest.php +++ b/core/modules/rdf/lib/Drupal/rdf/Tests/UserAttributesTest.php @@ -78,6 +78,7 @@ function testUserAttributesInMarkup() { // User 2 creates a node. $this->drupalLogin($user2); + $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); $node = $this->drupalCreateNode(array('type' => 'article', 'promote' => 1)); $this->drupalLogin($user1); diff --git a/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php b/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php index f00b5ba..d40e680 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php @@ -36,6 +36,7 @@ function setUp() { // Create admin user and log in admin user. $this->admin_user = $this->drupalCreateUser(array('administer site configuration')); $this->drupalLogin($this->admin_user); + $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); } /** diff --git a/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php b/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php index 956a257..9fe4403 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php @@ -44,6 +44,7 @@ function testUserTimeZone() { $date2 = '2007-03-11 01:00:00 -0800'; // One date in PDT (summer time): $date3 = '2007-03-20 21:00:00 -0700'; + $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); $node1 = $this->drupalCreateNode(array('created' => strtotime($date1), 'type' => 'article')); $node2 = $this->drupalCreateNode(array('created' => strtotime($date2), 'type' => 'article')); $node3 = $this->drupalCreateNode(array('created' => strtotime($date3), 'type' => 'article'));