Remove extra lines
This commit is contained in:
parent
349ec8f965
commit
4238580d66
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ namespace Drupal\Tests\tdd_dublin\Kernel;
|
||||||
|
|
||||||
use Drupal\KernelTests\KernelTestBase;
|
use Drupal\KernelTests\KernelTestBase;
|
||||||
use Drupal\node\Entity\Node;
|
use Drupal\node\Entity\Node;
|
||||||
use Drupal\node\Entity\NodeType;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @group tdd_dublin
|
* @group tdd_dublin
|
||||||
|
@ -42,8 +41,6 @@ class PageListTest extends KernelTestBase {
|
||||||
* pages or content of different types should not be shown.
|
* pages or content of different types should not be shown.
|
||||||
*/
|
*/
|
||||||
public function testOnlyPublishedPagesAreShown() {
|
public function testOnlyPublishedPagesAreShown() {
|
||||||
NodeType::create(['type' => 'article', 'name' => t('Article')]);
|
|
||||||
|
|
||||||
// This is a published page, so it should be visible.
|
// This is a published page, so it should be visible.
|
||||||
Node::create($this->getValidParams(['status' => TRUE]))->save();
|
Node::create($this->getValidParams(['status' => TRUE]))->save();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue