From d3da8776ff50111887401adc2adbc8d1bf7d0d36 Mon Sep 17 00:00:00 2001 From: AllForNothing Date: Tue, 12 Nov 2019 10:53:17 +0800 Subject: [PATCH] Fix UT bug for scanner component Signed-off-by: AllForNothing --- .../src/app/project/scanner/scanner.component.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/portal/src/app/project/scanner/scanner.component.spec.ts b/src/portal/src/app/project/scanner/scanner.component.spec.ts index 4a7ec83ee..3cc5c47aa 100644 --- a/src/portal/src/app/project/scanner/scanner.component.spec.ts +++ b/src/portal/src/app/project/scanner/scanner.component.spec.ts @@ -17,14 +17,16 @@ describe('ScannerComponent', () => { name: 'test1', description: 'just a sample', version: '1.0.0', - url: 'http://168.0.0.1' + url: 'http://168.0.0.1', + health: 'healthy' }; const mockScanner2: Scanner = { uuid: 'def', name: 'test2', description: 'just a sample', version: '2.0.0', - url: 'http://168.0.0.2' + url: 'http://168.0.0.2', + health: 'healthy' }; let component: ScannerComponent; let fixture: ComponentFixture;