Commit graph

18 commits

Author SHA1 Message Date
3db62f83b9 Extract a custom assertion method 2024-01-15 08:51:12 +00:00
c687deaf5c Refactor to use a PostBuilder 2024-01-15 08:51:12 +00:00
f7487a6bbe Update .tmux script
- Open nvim without `+GoToFile`
- Run PHPUnit in watch mode
2024-01-15 08:51:12 +00:00
ea2c228806 Update port number
Prevents collisions with other running projects, such as my personal
website that uses Sculpin and also port 8000 by default.
2024-01-15 08:51:12 +00:00
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
5121502d7f Fix spacing 2024-01-14 09:37:02 +00:00
8196483944 Configure PHPCS 2024-01-14 09:37:02 +00:00
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
e931656b68 Add TODO.md 2024-01-04 01:43:49 +00:00
07f698e6c0 Content test 2024-01-04 01:41:41 +00:00
9abcf39fe7 Authenticated user admin page test 2024-01-04 01:41:41 +00:00
44adee585b Test Drupal pages 2024-01-04 01:36:20 +00:00
11391c2b86 Add initial test 2024-01-04 01:36:19 +00:00
ebd4e202c2 Configure PHPUnit 2023-12-26 01:33:22 +00:00
fafddca637 Add drupal/core-dev 2023-12-25 21:56:42 +00:00
5eec3df340 Add Drupal 2023-12-25 21:56:42 +00:00
c664b3e26b Add .tmux script 2023-12-25 21:56:42 +00:00
bbbf284f92 Add flake.nix with PHP 8.2 and Composer 2023-12-25 20:52:28 +00:00