File: CpdfTest.php

package info (click to toggle)
php-dompdf 3.0.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,548 kB
  • sloc: php: 26,160; sh: 109; xml: 100; makefile: 42
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);
    }
}