Commit 6f1cc246 authored by webchick's avatar webchick

Issue #1848202 by xjm: Decouple OpenID tests from node.

parent 951abb89
......@@ -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 @@ function setUp() {
// 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();
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment