Been missed your daily videos lately due to some unwanted events. It's already the twelfth video and found those are interesting. Thanks for the awesome content as always.
@BelgranoK2 жыл бұрын
Hello! Thanks for sharing this course. In the last test you show I whould prefer to check that the product does not exist in the database before the "Act" part of the test. I know that breaks the "Arrange-Act-Assert" but I think its more reliable and readable.
@kieferjs2 жыл бұрын
Great series! Would love to see some test cases using live wire components with modals in play - similar to Caleb Porzio’s screencasts when he launched Livewire.
@amitsolanki936310 ай бұрын
How can I write test case of verify new user email?
@MarienMupenda2 жыл бұрын
Hello sir ! What the test would look like in case of a Livewire Component? Thank you.
@LaravelDaily2 жыл бұрын
All the info about Livewire testing is in the Livewire docs: laravel-livewire.com/docs/2.x/testing
@MarienMupenda2 жыл бұрын
@@LaravelDaily Thank you.
@StevenTringali2 жыл бұрын
assertRedirect asserts both the status code and the redirect location, so you can omite the assertStatus assertion: ( return \in_array($this->statusCode, [201, 301, 302, 303, 307, 308]) && (null === $location ?: $location == $this->headers->get('Location')); )