Merge pull request #9835 from AllForNothing/scanner-ut

Fix UT bug for scanner component
This commit is contained in:
Will Sun 2019-11-12 13:59:16 +08:00 committed by GitHub
commit 5fa47dd9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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