tests/Unit/Controller/API/SettingsControllerTest.php
The method testMqtt_GivenUserWithInfoScope_ReturnsMqttSettings() has 31 lines of code. Current threshold is set to 25. Avoid really long methods. Open
Open
public function testMqtt_GivenUserWithInfoScope_ReturnsMqttSettings(): void
{
$user = factory(User::class)->make();
$publicUserId = $user->public_id;
- Exclude checks