mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 01:34:35 -04:00
Fixes for test annotations
This commit is contained in:
parent
6368ab10f7
commit
90530de46d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user