Merge pull request #3150 from laf/test-fix

Couple of small fixes
This commit is contained in:
Neil Lathwood
2016-03-03 20:08:22 +00:00
+1 -2
View File
@@ -1,4 +1,3 @@
<?php
include "includes/syslog.php";
@@ -29,7 +28,7 @@ class SyslogTest extends \PHPUnit_Framework_TestCase
// populate fake $dev_cache and $config
global $config, $dev_cache;
$dev_cache['1.1.1.1'] = ['device_id' => 1, 'os' => 'ios', 'version' => 1];;
$confg = array();
$config = array();
$config['syslog_filter'] = array();
// populate test data