diff --git a/core/profiles/standard/lib/Drupal/standard/Tests/StandardTest.php b/core/profiles/standard/lib/Drupal/standard/Tests/StandardTest.php index fc21631..e0215b7 100644 --- a/core/profiles/standard/lib/Drupal/standard/Tests/StandardTest.php +++ b/core/profiles/standard/lib/Drupal/standard/Tests/StandardTest.php @@ -27,14 +27,14 @@ public static function getInfo() { /** * Tests Standard installation profile. */ - function testStandard() { + public function testStandard() { $this->drupalGet(''); $this->assertLink(t('Contact')); $this->clickLink(t('Contact')); $this->assertResponse(200); // Test anonymous user can access 'Main navigation' block. - $admin = $this->drupalCreateUser(array('administer blocks')); + $admin = $this->drupalCreateUser(array('administer blocks', 'create article content')); $this->drupalLogin($admin); // Configure the block. $this->drupalGet('admin/structure/block/add/system_menu_block:menu-main/bartik'); @@ -67,6 +67,11 @@ function testStandard() { $this->drupalLogout(); $this->assertText('Main navigation'); + // Test disabling ckeditor module. + module_disable(array('ckeditor')); + $this->drupalLogin($admin); + $this->drupalGet('node/add/article'); + $this->assertResponse('200'); } }