Add correct nodes test
This commit is contained in:
parent
dfda72bcd7
commit
f713d225bf
|
@ -21,4 +21,19 @@ class PageListTest extends BrowserTestBase {
|
|||
$this->assertSession()->statusCodeEquals(200);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure that only the correct nodes are returned.
|
||||
*
|
||||
* Ensure that only published pages are returned by the view. Unpublished
|
||||
* pages or content of different types should not be shown.
|
||||
*/
|
||||
public function testOnlyPublishedPagesAreShown() {
|
||||
// Given that a have a mixture of published and unpublished pages, as well
|
||||
// as other types of content.
|
||||
|
||||
// When I view the page.
|
||||
|
||||
// Then I should only see the published pages.
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue