From 96881efbefc746308b22fe0405410ebfe242e3ba Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Fri, 11 Jan 2019 17:51:37 +0300 Subject: [PATCH] small fixes in tests and examples --- examples/export.php | 2 +- tests/ClientTest.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/export.php b/examples/export.php index b084f9d..c72d3ee 100644 --- a/examples/export.php +++ b/examples/export.php @@ -10,7 +10,7 @@ use \RouterOS\Query; // Create config object with parameters $config = (new Config()) - ->set('host', '192.168.1.3') + ->set('host', '127.0.0.1') ->set('pass', 'admin') ->set('user', 'admin'); diff --git a/tests/ClientTest.php b/tests/ClientTest.php index b2bda15..ddf1a82 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -6,9 +6,7 @@ use PHPUnit\Framework\TestCase; use RouterOS\Client; use RouterOS\Query; use RouterOS\Config; -use RouterOS\Exceptions\Exception; use RouterOS\Exceptions\ClientException; -use RouterOS\Exceptions\ConfigException; class ClientTest extends TestCase {