add tests batch 20
This commit is contained in:
@@ -13,7 +13,7 @@ class BadgeTextFormatterTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$this->formatter = new BadgeTextFormatter;
|
||||
$this->formatter = new BadgeTextFormatter();
|
||||
}
|
||||
|
||||
public function test_normalize_ids_filters_and_deduplicates(): void
|
||||
@@ -86,7 +86,7 @@ class BadgeTextFormatterTest extends TestCase
|
||||
|
||||
public function test_fit_text_returns_size_within_bounds(): void
|
||||
{
|
||||
$pdf = new FPDF;
|
||||
$pdf = new FPDF();
|
||||
$pdf->AddPage();
|
||||
$pdf->SetFont('Arial', '', 12);
|
||||
|
||||
@@ -95,4 +95,4 @@ class BadgeTextFormatterTest extends TestCase
|
||||
$this->assertGreaterThanOrEqual(7, $size);
|
||||
$this->assertLessThanOrEqual(11, $size);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user