Commit graph

10 commits

Author SHA1 Message Date
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