Commit graph

12 commits

Author SHA1 Message Date
Oliver Davies 569d4a80dc Add results order test 2017-10-30 10:44:16 +00:00
Oliver Davies f6d572211f Add type condition to the view 2017-10-30 10:44:16 +00:00
Oliver Davies 744556a681 Compare the expected nids with the view result 2017-10-30 10:44:16 +00:00
Oliver Davies 88a0399f39 Get the result of the view 2017-10-30 10:44:15 +00:00
Oliver Davies 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
Oliver Davies f713d225bf Add correct nodes test 2017-10-30 10:44:15 +00:00
Oliver Davies 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
Oliver Davies 7c611e4a8a Add module dependencies 2017-10-30 10:44:15 +00:00
Oliver Davies 51d91feb46 Add pages view
Fixes the 404 error by adding the /pages view.
2017-10-30 10:44:15 +00:00
Oliver Davies 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
Oliver Davies 05cd5901d5 Add test structure 2017-10-30 10:44:14 +00:00
Oliver Davies 4c49bde2bf Initial commit 2017-10-30 10:44:14 +00:00