Oliver Davies
86b5c18f8d
Add isPublished()
method
2024-01-17 10:58:35 +00:00
Oliver Davies
8c3b9438c7
Add published nodes test
2024-01-17 10:58:14 +00:00
Oliver Davies
71e70a56c5
Adding return types
2024-01-17 10:48:33 +00:00
Oliver Davies
de5ffc1aee
Fix bug in lesson 6
2024-01-17 10:39:39 +00:00
Oliver Davies
812ab02bfa
Add a run file with a consistent test
task
2024-01-16 15:56:15 +00:00
Oliver Davies
9be750fdf7
Add paratest for running tests in parallel
2024-01-16 09:43:22 +00:00
Oliver Davies
2b2a9facea
Add groups to lesson tests
2024-01-15 10:29:12 +00:00
Oliver Davies
acaabb14ca
Fix .tmux
script
2024-01-15 10:09:50 +00:00
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
f7487a6bbe
Update .tmux
script
...
- Open nvim without `+GoToFile`
- Run PHPUnit in watch mode
2024-01-15 08:51:12 +00:00
Oliver Davies
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
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