dbudwin/RoboHome-Web

View on GitHub
tests/Unit/Controller/API/SettingsControllerTest.php

Summary

Maintainability
A
0 mins
Test Coverage

The method testMqtt_GivenUserWithInfoScope_ReturnsMqttSettings() has 31 lines of code. Current threshold is set to 25. Avoid really long methods.
Open

    public function testMqtt_GivenUserWithInfoScope_ReturnsMqttSettings(): void
    {
        $user = factory(User::class)->make();
        $publicUserId = $user->public_id;

There are no issues that match your filters.

Category
Status