fix: #33454 Fix construct and load test

This commit is contained in:
Andreas Steiner 2024-07-29 12:53:02 +02:00
commit 31735d8692

View file

@ -30,7 +30,7 @@ class SettingsTest extends TestCase
public function testConstruct() public function testConstruct()
{ {
$cfg = new Settings(); $cfg = new Settings();
$this->assertNotEmpty($cfg); $this->assertIsObject($cfg);
} }
/** /**
@ -69,7 +69,7 @@ class SettingsTest extends TestCase
{ {
$cfg = new Settings(); $cfg = new Settings();
$cfg = $this->appPath($cfg)->load(); $cfg = $this->appPath($cfg)->load();
$this->assertNotEmpty($cfg); $this->assertIsObject($cfg);
return $cfg; return $cfg;
} }
@ -224,4 +224,4 @@ class SettingsTest extends TestCase
/* jEdit buffer local properties {{{ /* jEdit buffer local properties {{{
* :folding=explicit:collapseFolds=1: * :folding=explicit:collapseFolds=1:
}}}*/ }}}*/