fix: #33454 Fix construct and load test
This commit is contained in:
parent
42921d0456
commit
31735d8692
1 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ class SettingsTest extends TestCase
|
|||
public function testConstruct()
|
||||
{
|
||||
$cfg = new Settings();
|
||||
$this->assertNotEmpty($cfg);
|
||||
$this->assertIsObject($cfg);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -69,7 +69,7 @@ class SettingsTest extends TestCase
|
|||
{
|
||||
$cfg = new Settings();
|
||||
$cfg = $this->appPath($cfg)->load();
|
||||
$this->assertNotEmpty($cfg);
|
||||
$this->assertIsObject($cfg);
|
||||
return $cfg;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue