mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed exception on log view. Added availability test for log view.
This commit is contained in:
parent
fe0738a074
commit
9f5a4ddf95
2 changed files with 4 additions and 2 deletions
|
@ -36,9 +36,9 @@ class ElementCreatedLogEntry extends AbstractLogEntry
|
|||
/**
|
||||
* Gets the instock when the part was created.
|
||||
*
|
||||
* @return int|null
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCreationInstockValue(): ?int
|
||||
public function getCreationInstockValue(): ?string
|
||||
{
|
||||
return $this->extra['i'] ?? null;
|
||||
}
|
||||
|
|
|
@ -89,6 +89,8 @@ class ApplicationAvailabilityFunctionalTest extends WebTestCase
|
|||
//yield ['/tree/device/1'];
|
||||
yield ['/tree/devices'];
|
||||
|
||||
yield ['/log/'];
|
||||
|
||||
//Typeahead
|
||||
yield ['/typeahead/builtInResources/search/DIP8'];
|
||||
yield ['/typeahead/tags/search/test'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue