Skip to content

Commit

Permalink
Testing fix
Browse files Browse the repository at this point in the history
Attempt to call LibreNMS config directly in DynamicConfigItem test
  • Loading branch information
murrant committed Nov 22, 2024
1 parent 20e88e6 commit b729b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LibreNMS/Util/DynamicConfigItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

namespace LibreNMS\Util;

use LibreNMS\Config;
use App\Facades\LibrenmsConfig;
use Validator;

#[\AllowDynamicProperties]
Expand All @@ -50,7 +50,7 @@ class DynamicConfigItem implements \ArrayAccess
public function __construct($name, $settings = [])
{
$this->name = $name;
$this->value = Config::get($this->name, $this->default);
$this->value = LibrenmsConfig::get($this->name, $this->default);

foreach ($settings as $key => $value) {
$this->$key = $value;
Expand Down

0 comments on commit b729b46

Please sign in to comment.