Upgrade tests to PhpUnit 10 (#5252)

This commit is contained in:
Kevin Papst
2024-12-22 01:25:30 +01:00
committed by GitHub
parent 9bd37fb695
commit c7f0508707
377 changed files with 3308 additions and 3409 deletions

View File

@@ -27,8 +27,8 @@ class MPdfConverterTest extends KernelTestCase
$sut = new MPdfConverter((new FileHelperFactory($this))->create(), $cacheDir);
$result = $sut->convertToPdf('<h1>Test</h1>');
// Yeah, thats not a real test, I know ;-)
$this->assertNotEmpty($result);
self::assertNotEmpty($result);
preg_match('/\/Creator \((.*)\)/', $result, $matches);
$this->assertCount(2, $matches);
self::assertCount(2, $matches);
}
}