From c6351f7d9655c78c400dbcc2fd49407415cbf3d6 Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Wed, 13 Feb 2019 17:04:24 +0300 Subject: [PATCH] additional tests of Config class --- tests/ConfigTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index dad884b..8cf1097 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -40,6 +40,16 @@ class ConfigTest extends TestCase $this->assertEquals($params['timeout'], 111); } + public function testSetArr() + { + $obj = new Config([ + 'timeout' => 111 + ]); + $params = $obj->getParameters(); + + $this->assertEquals($params['timeout'], 111); + } + public function testDelete() { $obj = new Config();