
About this episode
We get a bit nerdy here and dive deep on a few different ways to test record creation.
- (00:00) - We like testing
- (01:20) - One way to test creating a record
- (03:00) - Limitations of fetch the record with first()
- (05:30) - Considerations when using latest() in tests
- (07:00) - An approach for using auto-increment IDs
- (08:05) - Silly bit
Read more of our thoughts at masteringlaravel.io
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from No Compromises

Do you actually own the code you ship?
No Compromises
May 9, 202614:54pending

Do you actually need a multi-tenancy package?
No Compromises
Apr 25, 202614:06pending

Local and production should match even for Laravel tools
No Compromises
Apr 11, 202613:15pending

When weird code needs to explain itself
No Compromises
Mar 28, 202611:17pending