Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rK887e95d73397: Avoid relying on hardcoded tenant ids in tests
Diff Detail
Diff Detail
- Repository
- rK kolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/tests/Feature/Controller/SkusTest.php | ||
---|---|---|
59–60 | The intention of this tests (and most of other you modified) was to use non default tenant. I.e. something like Tenant::whereNotIn('id', [\config('app.tenant_id')])->first() might be more appropriate. | |
src/tests/Feature/TenantTest.php | ||
42 | Same here. We're testing for non-default tenant. |