File: CpdfTest.php

package info (click to toggle)
php-dompdf 2.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,176 kB
  • sloc: php: 22,518; sh: 91; xml: 80; makefile: 52
file content (17 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types = 1);

use \PHPUnit\Framework\TestCase;
use \Dompdf\Cpdf;

class CpdfTest extends TestCase
{

    public function testConstruct(): void
    {
        $cpdf = new Cpdf();
        $this->assertSame(7, $cpdf->getFirstPageId());
        $this->assertSame('1.7', Cpdf::PDF_VERSION);
    }
}