Commit graph

9 commits

Author SHA1 Message Date
Oliver Davies 3db62f83b9 Extract a custom assertion method 2024-01-15 08:51:12 +00:00
Oliver Davies c687deaf5c Refactor to use a PostBuilder 2024-01-15 08:51:12 +00:00
Oliver Davies 75b17fd565 Add lesson 4
- Add initial `PostNodeRepository`
- Move logic to Repository
- Inject `EntityTypeManagerInterface`
- Add `PostNodeRepositoryTest`
- Add failing test method
- Failing test: non-existent service
- The "node" entity type does not exist.
- Create posts
- Add assertions based on the `created` date
- Sort nodes before returning them
- Return values to reset array keys
2024-01-14 09:37:02 +00:00
Oliver Davies 5121502d7f Fix spacing 2024-01-14 09:37:02 +00:00
Oliver Davies 99204d78df Add lesson 3
- Add failing blog page test.
- Add custom routing, need to create Controller.
- Add BlogPageController.
- Test posts are visible.
2024-01-09 01:18:45 +00:00
Oliver Davies 07f698e6c0 Content test 2024-01-04 01:41:41 +00:00
Oliver Davies 9abcf39fe7 Authenticated user admin page test 2024-01-04 01:41:41 +00:00
Oliver Davies 44adee585b Test Drupal pages 2024-01-04 01:36:20 +00:00
Oliver Davies 11391c2b86 Add initial test 2024-01-04 01:36:19 +00:00