Added an basic table to show log entries.

This commit is contained in:
Jan Böhmer 2020-01-24 22:57:04 +01:00
parent 3f8cd6473a
commit d0b3750594
21 changed files with 1292 additions and 7 deletions

View file

@ -59,6 +59,9 @@ class ElementTypeNameGeneratorTest extends WebTestCase
//Test inheritance
$this->assertSame('Attachment', $this->service->getLocalizedTypeLabel(new PartAttachment()));
//Test for class name
$this->assertSame('Part', $this->service->getLocalizedTypeLabel(Part::class));
//Test exception for unknpwn type
$this->expectException(EntityNotSupportedException::class);
$this->service->getLocalizedTypeLabel(new class() extends DBElement {