markTestSkipped('Skip test for Travis'); } } public function testPdfGeneration() { $pdf = new Snappdf(); if (config('ninja.snappdf_chromium_path')) { $pdf->setChromiumPath(config('ninja.snappdf_chromium_path')); } if (config('ninja.snappdf_chromium_arguments')) { $pdf->clearChromiumArguments(); $pdf->addChromiumArguments(config('ninja.snappdf_chromium_arguments')); } $pdf = $pdf ->setHtml('

Invoice Ninja

') ->generate(); $this->assertNotNull($pdf); } }