From 0cef1f12bd7b70cadf7e3ea0873b72d7c21ccefd Mon Sep 17 00:00:00 2001
From: suschneider <57661483+suschneider@users.noreply.github.com>
Date: Fri, 4 Mar 2022 13:34:52 +0100
Subject: [PATCH] feat: use demo content artifact in header navigation (#1038)
---
.../header-navigation/header-navigation.component.html | 1 +
.../header-navigation/header-navigation.component.spec.ts | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/src/app/shell/header/header-navigation/header-navigation.component.html b/src/app/shell/header/header-navigation/header-navigation.component.html
index 776d649c120..0629505826a 100644
--- a/src/app/shell/header/header-navigation/header-navigation.component.html
+++ b/src/app/shell/header/header-navigation/header-navigation.component.html
@@ -27,4 +27,5 @@
>
+
diff --git a/src/app/shell/header/header-navigation/header-navigation.component.spec.ts b/src/app/shell/header/header-navigation/header-navigation.component.spec.ts
index f2e6418d5d7..defd6ab799e 100644
--- a/src/app/shell/header/header-navigation/header-navigation.component.spec.ts
+++ b/src/app/shell/header/header-navigation/header-navigation.component.spec.ts
@@ -8,6 +8,7 @@ import { instance, mock, when } from 'ts-mockito';
import { ShoppingFacade } from 'ish-core/facades/shopping.facade';
import { NavigationCategory } from 'ish-core/models/navigation-category/navigation-category.model';
import { SubCategoryNavigationComponent } from 'ish-shell/header/sub-category-navigation/sub-category-navigation.component';
+import { LazyContentIncludeComponent } from 'ish-shell/shared/lazy-content-include/lazy-content-include.component';
import { HeaderNavigationComponent } from './header-navigation.component';
@@ -26,6 +27,7 @@ describe('Header Navigation Component', () => {
HeaderNavigationComponent,
MockComponent(FaIconComponent),
MockComponent(SubCategoryNavigationComponent),
+ MockComponent(LazyContentIncludeComponent),
],
providers: [{ provide: ShoppingFacade, useFactory: () => instance(shoppingFacade) }],
}).compileComponents();
@@ -65,6 +67,10 @@ describe('Header Navigation Component', () => {
CAT_C
+
`);
});