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
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 36310 Build 14350: arc lint + arc unit
Event Timeline
src/tests/Feature/Controller/SkusTest.php | ||
---|---|---|
59 | 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. |