Commit graph

14 commits

Author SHA1 Message Date
655c854a80 5e: Fix the kernel tests 2020-11-14 12:38:17 +00:00
0b4c648ac6 5c: Return the node label 2020-11-14 10:09:38 +00:00
61664cb263 5c: Add the node as a constructor argument
> Undefined variable: node
2020-11-14 10:09:38 +00:00
1fe7119b5d 5b: Add getTitle() method
> Failed asserting that two strings are identical
2020-11-14 10:09:38 +00:00
259f077f61 4m: Return a Post rather than a node 2020-11-14 10:09:38 +00:00
9aec327945 4l: Expect a custom Post class to be returned 2020-11-14 10:09:38 +00:00
290c8fbcba 4k: Sort articles before returning 2020-11-14 10:09:38 +00:00
e925409f5f 4j: Add status condition to getAll() 2020-11-14 10:09:38 +00:00
2cae42ba3a 4i: Add type condition in getAll() method 2020-11-14 10:09:38 +00:00
4dbb334a6f 4f: Use node storage within getAll() 2020-11-14 10:09:38 +00:00
f38f21fdc8 4e: Add getAll() method 2020-11-14 10:09:38 +00:00
699122e83a 4d: Create the ArticleRepository 2020-11-14 10:09:38 +00:00
9484d924a1 3e: Add page text
Replace the empty render array with one that returns the expected text.
2020-11-14 10:09:38 +00:00
4583075a3e 3d: Add BlogPageController
Add the BlogPageController that is referenced within
`my_module.routing.yml`.

We will need to return a render array, but for now let’s return an empty
array.

The test now passes as we are getting the expected response code.
2020-11-14 10:09:38 +00:00