From 6f1cc2460fab616475fb96b0cbf43e02bea08739 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 26 Nov 2012 09:30:39 -0800 Subject: [PATCH] Issue #1848202 by xjm: Decouple OpenID tests from node. --- .../openid/lib/Drupal/openid/Tests/OpenIDTestBase.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTestBase.php b/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTestBase.php index f88ba928de2..e5ab23c19d2 100644 --- a/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTestBase.php +++ b/core/modules/openid/lib/Drupal/openid/Tests/OpenIDTestBase.php @@ -19,7 +19,7 @@ abstract class OpenIDTestBase extends WebTestBase { * * @var array */ - public static $modules = array('block', 'node', 'openid'); + public static $modules = array('block', 'openid', 'test_page_test'); function setUp() { parent::setUp(); @@ -42,13 +42,7 @@ abstract class OpenIDTestBase extends WebTestBase { // Use a different front page than login page for testing OpenID login from // the user login block. - config('system.site')->set('page.front', 'node')->save(); - - // Create Basic page and Article node types. - if ($this->profile != 'standard') { - $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page')); - $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); - } + config('system.site')->set('page.front', 'test-page')->save(); } /**