Fixed exception on log view. Added availability test for log view.

This commit is contained in:
Jan Böhmer 2020-02-02 19:58:55 +01:00
parent fe0738a074
commit 9f5a4ddf95
2 changed files with 4 additions and 2 deletions

View file

@ -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;
}

View file

@ -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'];