nova-assertions
nova-assertions copied to clipboard
Laravel Nova assertions for your tests
I have a simple Team resource with fields like this: ```` BelongsToMany::make('Users')->searchable() ->fields(new TeamUserFields), HasMany::make('Whitelist Ips'), ```` The Nova UI works just fine and I can save new IP address...
as create and edit pages read from “fields” not from “resource.fields" these are the current correct request type -- json route pairs: index — resources.0.fields detail — resource.fields create, edit...
Hi @dillingham, thanks for the great package. Saves me a lot of time testing my Nova App's. I was just wondering if you still maintain the package or planning on...
The most recent PR #20 was merged, but a package version was not published. Any plans on pushing a tag?
Hey everyone I'm experiencing a Fatal error: **During class fetch: Uncaught ErrorException: Required parameter $method follows optional parameter expectation** The message shows on a simple index resource test. Any idea...
Hi, I have created a project with Laravel Nova as a backend service to mange my project. However, my Laravel Nova is accessible via `nova.mywebsiteproject.test`. So, basically it lies on...
The method `fieldCheck` has an error: ```PHP Fatal error: During class fetch: Uncaught ErrorException: Required parameter $method follows optional parameter $value in /Users/arasivaneswaran/Documents/repos/ccp-kin-ball-v5/vendor/dillingham/nova-assertions/src/Assert/AssertFields.php:47``` ``` protected function fieldCheck($attribute, $value = null,...
With the latest nova version, the filter class path is different. Here is the error: ```Unable to find JSON fragment: [{"class":"App\\Nova\\Filters\\GenderFilter"}] within [[{"class":"GenderFilter", ``` As you can see, the GenderFilter...
In the browser, login works fine using the same user as in the test Regardless of using the seeded data, or creating the user in the test, I'm getting Unauthenticated...
Is there a way to test if you can add/attach/detach relationships? Nova provides a way to authorize editing relationships on a resource: https://nova.laravel.com/docs/2.0/resources/authorization.html#relationships If not, maybe this would make a...