public function FillPdfMergeTestCase::testLocalServicePdfMerging in FillPDF 7
Tests PDF merging using a local service.
File
- tests/
FillPdfMergeTestCase.test, line 558
Class
- FillPdfMergeTestCase
- Tests that PDF population and token replacement works.
Code
public function testLocalServicePdfMerging() {
$this
->configureLocalServiceBackend();
if (!fillpdf_localservice_check()) {
// We don't have access to the local service, so don't run any assertions.
return;
}
// The testing UI doesn't clearly indicate that these tests are being run by
// default because we delegate to backendTest(). This is a convenience
// marker.
$this
->assertTrue(TRUE, 'FillPDF LocalServer detected. Running tests.');
$this
->backendTest();
}