Skip to content

Change nova URI generation logic #200

@DenTray

Description

@DenTray

Description

Need to change the logic of Nova resource URI generation for testing Nova to able to generate URI using NovaResource class instead of model class

What need to be done

Need to change the behaviour of the generateNovaUri method of the NovaTestTrait trait. Method should receive the $resourceClass string arg instead of $modelClass. It also should return the resulted URI as the resource name converted into the kebab case and pluralizing.

Also, need to check that the implemented logic working the same as Nova, need to check the real using URIs for the next cases:

  1. UserResource
  2. User
  3. Media
  4. Money
  5. Furniture

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions