Skip to content

Commit 23b4299

Browse files
committed
Fix a single failing test
1 parent aa53c95 commit 23b4299

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Services/ElementTypeNameGeneratorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ public function testGetLocalizedTypeNameCombination(): void
5151
//We only test in english
5252
$this->assertSame('Part', $this->service->getLocalizedTypeLabel(new Part()));
5353
$this->assertSame('Category', $this->service->getLocalizedTypeLabel(new Category()));
54-
$this->assertSame('bulk_info_provider_import_job.label', $this->service->getLocalizedTypeLabel(new BulkInfoProviderImportJob()));
54+
$this->assertSame('Bulk Info Provider Import', $this->service->getLocalizedTypeLabel(new BulkInfoProviderImportJob()));
5555

5656
//Test inheritance
5757
$this->assertSame('Attachment', $this->service->getLocalizedTypeLabel(new PartAttachment()));
5858

5959
//Test for class name
6060
$this->assertSame('Part', $this->service->getLocalizedTypeLabel(Part::class));
61-
$this->assertSame('bulk_info_provider_import_job.label', $this->service->getLocalizedTypeLabel(BulkInfoProviderImportJob::class));
61+
$this->assertSame('Bulk Info Provider Import', $this->service->getLocalizedTypeLabel(BulkInfoProviderImportJob::class));
6262

6363
//Test exception for unknpwn type
6464
$this->expectException(EntityNotSupportedException::class);
65-
$this->service->getLocalizedTypeLabel(new class() extends AbstractDBElement {
65+
$this->service->getLocalizedTypeLabel(new class () extends AbstractDBElement {
6666
});
6767
}
6868

@@ -77,7 +77,7 @@ public function testGetTypeNameCombination(): void
7777

7878
//Test exception
7979
$this->expectException(EntityNotSupportedException::class);
80-
$this->service->getTypeNameCombination(new class() extends AbstractNamedDBElement {
80+
$this->service->getTypeNameCombination(new class () extends AbstractNamedDBElement {
8181
public function getIDString(): string
8282
{
8383
return 'Stub';

0 commit comments

Comments
 (0)