Fixes for test annotations

This commit is contained in:
David Bomba 2019-09-12 14:45:13 +10:00
parent 6368ab10f7
commit 90530de46d

View File

@ -11,7 +11,7 @@ use Tests\TestCase;
/** /**
* @test * @test
* @covers App\Models\Client * @coversDefaultClass App\Models\Client
*/ */
class GroupSettingsTest extends TestCase class GroupSettingsTest extends TestCase
{ {
@ -138,7 +138,9 @@ class GroupSettingsTest extends TestCase
$this->assertEquals($this->client->getMergedSettings()->timezone_id, 'CLIENT'); $this->assertEquals($this->client->getMergedSettings()->timezone_id, 'CLIENT');
} }
/**
* @covers ::getMergedSettings
*/
public function testGroupPriority() public function testGroupPriority()
{ {
$cs = $this->client->company->settings; $cs = $this->client->company->settings;
@ -166,6 +168,9 @@ class GroupSettingsTest extends TestCase
$this->assertEquals($this->client->getMergedSettings()->timezone_id, 'GROUP'); $this->assertEquals($this->client->getMergedSettings()->timezone_id, 'GROUP');
} }
/**
* @covers ::getSetting
*/
public function testCompanyFallBackPriority() public function testCompanyFallBackPriority()
{ {
$cs = $this->client->company->settings; $cs = $this->client->company->settings;