Oliver Davies
dcab1aca9a
Use constant for the response code
2020-03-07 17:16:50 +00:00
Oliver Davies
52f13fcac8
Add $defaultTheme
...
Required for Drupal 9.0.
See https://www.drupal.org/node/3083055 .
2020-03-07 17:15:23 +00:00
Oliver Davies
ccaa426a38
Change to tdd_blog
2018-09-07 18:33:14 +01:00
Oliver Davies
dccc8f1875
Add node types explicitly
2018-04-20 00:10:28 +01:00
Oliver Davies
f8a864b6cc
Use the NodeCreationTrait, remove validParams
2018-04-19 23:46:19 +01:00
Oliver Davies
442ec19bc1
Use EntityKernelTestBase
2018-04-19 14:18:10 +01:00
Oliver Davies
38314a0ed2
Use array_map
2018-04-02 21:29:19 +01:00
Oliver Davies
238dd8fb68
Rename method
2018-03-20 19:26:28 +00:00
Oliver Davies
4238580d66
Remove extra lines
2018-03-20 18:58:02 +00:00
Oliver Davies
349ec8f965
Add tdd_dublin_test sub-module
2018-03-20 18:58:02 +00:00
Oliver Davies
81cb121a99
Change tests to kernel tests
...
Fixes #1
2017-11-21 10:06:09 +00:00
Oliver Davies
eb5465c5a6
Update README
2017-11-07 01:10:11 +00:00
Oliver Davies
af09babd7a
Add comments
2017-10-30 10:44:40 +00:00
Oliver Davies
461e66bf53
Assert expected node order
2017-10-30 10:44:16 +00:00
Oliver Davies
992390b803
Retrieve the data from the view
2017-10-30 10:44:16 +00:00
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