fix: #33454 Fix construct and load test

This commit is contained in:
Andreas Steiner 2024-07-29 12:53:02 +02:00 committed by norb
commit 270e64fa36

View file

@ -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;
}