Skip to content

Use NovaResource class in NovaTestGenerator instead of Model #140

@DenTray

Description

@DenTray

Description

At the moment nova tests are generating with passing the entity name to the novaCreateResourceAPICall, novaGetResourceAPICall, etc. which works incorrectly as the generateNovaUri method should take the resourceClass arg instead of modelClass

What need to be done

On NovaTests generation need to update logic to pass the NovaResource class into the all nova***ResourceAPICall instead of model class

Image

In case script generating Nova tests without generation NovaResource - need to try to find the suitable class inside the app/Nova folder (include subdirectories) and use it.

Blockers

RonasIT/laravel-helpers#200

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions