Skip to content

Use correct namespace for models accordingly to the package config #100

@DenTray

Description

@DenTray

In AbstractTestGenerator need to change the getModelClass logic. Instead of hardcoded App\Models namespace should be generated accordingly package config paths.models transformed to PSR4 standard.

After implementation, namespace binding in composer ("App\Models": "tests/Support/Models") should be removed and related test cases should modify path in config instead.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions