alientronics/fleetany-web

View on GitHub
tests/unit/UserModelTest.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method testSetUp has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testSetUp()
    {
        $company = factory(\App\Entities\Company::class)->create();
        $user = factory(\App\Entities\User::class)->create([
            'company_id' => $company->id,
Severity: Major
Found in tests/unit/UserModelTest.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status