diff --git a/src/Entity/LogSystem/ElementCreatedLogEntry.php b/src/Entity/LogSystem/ElementCreatedLogEntry.php index f27b73e1..a02e6653 100644 --- a/src/Entity/LogSystem/ElementCreatedLogEntry.php +++ b/src/Entity/LogSystem/ElementCreatedLogEntry.php @@ -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; } diff --git a/tests/ApplicationAvailabilityFunctionalTest.php b/tests/ApplicationAvailabilityFunctionalTest.php index 6d61a9f6..adfcec28 100644 --- a/tests/ApplicationAvailabilityFunctionalTest.php +++ b/tests/ApplicationAvailabilityFunctionalTest.php @@ -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'];