Skip to content

Commit 6721af8

Browse files
author
杜美瑶
committed
修复完毕 iPortal/iPortalResourceSpec.js UT --NO REVIEW
1 parent dc748aa commit 6721af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/iPortal/iPortalResourceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {IPortalResource} from '../../../src/common/iPortal/iPortalResource';
22

33
describe('iPortalResource', () => {
44
it('constructor_default', () => {
5-
var iPortalResource = new IPortalResource();
5+
var iPortalResource = new IPortalResource("https://iportal.supermap.io/iportal",{resourceType:'MAP'});
66
expect(iPortalResource).not.toBeNull();
77
expect(iPortalResource.CLASS_NAME).toBe("SuperMap.iPortalServiceBase");
88
expect(iPortalResource.authorizeSetting.length).toEqual(0);

0 commit comments

Comments
 (0)