Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnpdlk committed Nov 13, 2020
1 parent a9ea498 commit 2267fc6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/suits/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ class ConfigTest extends TestCase
*/
public function testConfig(): void
{
new Config([
$oConfig = new Config([
'host' => '10.0.10.10',
'community' => 'some_community',
'version' => Version::VER_1,
]);
$this->assertTrue(true);
self::assertTrue(true);
self::assertSame('private', $oConfig->getCommunitySet());
self::assertSame('some_community', $oConfig->getCommunity());
self::assertSame('10.0.10.10', $oConfig->getHost());
}
}

0 comments on commit 2267fc6

Please sign in to comment.