mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-19 23:28:20 +01:00
Fix UT bug for scanner component
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
407417ce7b
commit
d3da8776ff
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user