Couple of small fixes

This commit is contained in:
laf
2016-03-03 19:56:18 +00:00
parent fa23fc4b6d
commit 89f0952bc3

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