Skip to content
Snippets Groups Projects
Commit 75e46f16 authored by Tibo's avatar Tibo
Browse files

fix tests

parent c9927a1f
No related branches found
No related tags found
No related merge requests found
Pipeline #13261 passed
......@@ -48,7 +48,7 @@ class SensorsTest extends TestCase
$string = file_get_contents(__DIR__ . "/ifconfig1804");
$sensor = new Ifconfig();
$interfaces = $sensor->parseIfconfig($string);
$this->assertEquals(2, count($interfaces));
$this->assertEquals(3, count($interfaces));
$this->assertEquals("eno1", $interfaces[0]->name);
$this->assertEquals("172.20.0.8", $interfaces[1]->address);
$this->assertEquals(185252610, $interfaces[1]->rx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment