. * * @package LibreNMS * @link http://librenms.org * @copyright 2022 Tony Murray * @author Tony Murray */ namespace LibreNMS\Tests\Unit; use LibreNMS\Tests\TestCase; use LibreNMS\Validations\Rrd\CheckRrdVersion; use Storage; class ValidationFixTest extends TestCase { public function testRrdVersionFix(): void { Storage::fake('base'); Storage::disk('base')->put('config.php', <<<'EOF' fix(); $actual = Storage::disk('base')->get('config.php'); $this->assertSame(<<<'EOF' delete('config.php'); } }