laravel-test-assertions
laravel-test-assertions copied to clipboard
A set of helpful assertions when testing Laravel applications.
Currently I have a test that doesn't pass because of the Rule class having a closure attached to the rule. I'm seeing this happen with `Rule::requiredIf` but could also be...
I currently have this in a test: ``` public function controller_uses_middleware() { $this->assertActionUsesMiddleware(SubscriptionController::class, 'store', 'auth'); $this->assertActionUsesMiddleware(SubscriptionController::class, 'update', 'auth'); $this->assertActionUsesMiddleware(SubscriptionController::class, 'destroy', 'auth'); } ``` Would be great if I could do:...
Hi, I don't know if TestResponse macros can be part of the package or it's out of your interests? for example, I have a `assertJsonPaths` and `assertPaginated` witch I have...