Fix for tests

This commit is contained in:
Hillel Coren 2018-07-27 16:37:00 +03:00
parent 2c3176544a
commit 59b309aed0

View File

@ -106,6 +106,10 @@ class HistoryUtils
public static function trackViewed(EntityModel $entity) public static function trackViewed(EntityModel $entity)
{ {
if (! $entity) {
return;
}
$entityType = $entity->getEntityType(); $entityType = $entity->getEntityType();
$trackedTypes = [ $trackedTypes = [
ENTITY_CLIENT, ENTITY_CLIENT,