Issue by xjm: Decouple OpenID tests from node.

8.0.x
webchick 2012-11-26 09:30:39 -08:00
parent 951abb89ce
commit 6f1cc2460f
1 changed files with 2 additions and 8 deletions
core/modules/openid/lib/Drupal/openid/Tests

View File

@ -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();
}
/**