Skip to content
Snippets Groups Projects
Commit 6f1cc246 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 951abb89
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment