mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 08:01:38 +02:00
Couple of small fixes
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
include "includes/syslog.php";
|
include "includes/syslog.php";
|
||||||
|
|
||||||
@@ -29,7 +28,7 @@ class SyslogTest extends \PHPUnit_Framework_TestCase
|
|||||||
// populate fake $dev_cache and $config
|
// populate fake $dev_cache and $config
|
||||||
global $config, $dev_cache;
|
global $config, $dev_cache;
|
||||||
$dev_cache['1.1.1.1'] = ['device_id' => 1, 'os' => 'ios', 'version' => 1];;
|
$dev_cache['1.1.1.1'] = ['device_id' => 1, 'os' => 'ios', 'version' => 1];;
|
||||||
$confg = array();
|
$config = array();
|
||||||
$config['syslog_filter'] = array();
|
$config['syslog_filter'] = array();
|
||||||
|
|
||||||
// populate test data
|
// populate test data
|
||||||
|
|||||||
Reference in New Issue
Block a user