mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 09:14:48 +02:00
Added an basic table to show log entries.
This commit is contained in:
parent
3f8cd6473a
commit
d0b3750594
21 changed files with 1292 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue