Fix ray raster image in svg (#9371)

* fix-ray-image

* Include svg tests in os group

* update test data
This commit is contained in:
Tony Murray 2018-10-23 11:32:44 -05:00 committed by GitHub
parent d0b923f072
commit 1d4607f33f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

BIN
html/images/os/ray.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

View File

@ -30,6 +30,11 @@ use RecursiveIteratorIterator;
use RecursiveRegexIterator;
use RegexIterator;
/**
* Class SVGTest
* @package LibreNMS\Tests
* @group os
*/
class SVGTest extends TestCase
{
public function testSVGContainsPNG()

View File

@ -32,7 +32,7 @@
"os": "ray",
"type": "wireless",
"serial": null,
"icon": "ray.svg"
"icon": "ray.png"
}
]
},
@ -50,7 +50,7 @@
"os": "ray",
"type": "wireless",
"serial": "9879015",
"icon": "ray.svg"
"icon": "ray.png"
}
]
}