Commit graph

8 commits

Author SHA1 Message Date
Oliver Davies 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
Oliver Davies 569d4a80dc Add results order test 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 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