Commit graph

17 commits

Author SHA1 Message Date
66389b7a21 Update README 2017-10-30 10:44:17 +00:00
81af444a97 Update sort criteria
Remove the default "Authored on" sort criteria and replace it
with a "Content: Title" sort to order the items alphabetically.
2017-10-30 10:44:16 +00:00
461e66bf53 Assert expected node order 2017-10-30 10:44:16 +00:00
992390b803 Retrieve the data from the view 2017-10-30 10:44:16 +00:00
fc8eb51bdf Create some test content
Create several different nodes in an incorrect order so that
we can see the test fail when asserting that they should be
ordered alphabetically.
2017-10-30 10:44:16 +00:00
569d4a80dc Add results order test 2017-10-30 10:44:16 +00:00
f6d572211f Add type condition to the view 2017-10-30 10:44:16 +00:00
744556a681 Compare the expected nids with the view result 2017-10-30 10:44:16 +00:00
88a0399f39 Get the result of the view 2017-10-30 10:44:15 +00:00
a104767e10 Create some test content
This includes some content of different types, as well as a
mixture of published and unpublished content. This mean that
we can test that these nodes are not returned in addition to
ensuring that the correct ones are returned.
2017-10-30 10:44:15 +00:00
f713d225bf Add correct nodes test 2017-10-30 10:44:15 +00:00
dfda72bcd7 Add missing config
Add the page node type.

Prevents UnmetDependenciesException due to the pages node type
being a dependency of the view.
2017-10-30 10:44:15 +00:00
7c611e4a8a Add module dependencies 2017-10-30 10:44:15 +00:00
51d91feb46 Add pages view
Fixes the 404 error by adding the /pages view.
2017-10-30 10:44:15 +00:00
f16b0df762 Add page test
This test will fail and return a 404 error code rather than
a 200 code as the page hasn't been built yet.
2017-10-30 10:44:15 +00:00
05cd5901d5 Add test structure 2017-10-30 10:44:14 +00:00
4c49bde2bf Initial commit 2017-10-30 10:44:14 +00:00