Commit graph

14 commits

Author SHA1 Message Date
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 8196483944 Configure PHPCS 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 e931656b68 Add TODO.md 2024-01-04 01:43:49 +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
Oliver Davies ebd4e202c2 Configure PHPUnit 2023-12-26 01:33:22 +00:00
Oliver Davies fafddca637 Add drupal/core-dev 2023-12-25 21:56:42 +00:00
Oliver Davies 5eec3df340 Add Drupal 2023-12-25 21:56:42 +00:00
Oliver Davies c664b3e26b Add .tmux script 2023-12-25 21:56:42 +00:00
Oliver Davies bbbf284f92 Add flake.nix with PHP 8.2 and Composer 2023-12-25 20:52:28 +00:00