Skip to content

Commit 2300f66

Browse files
committed
[ut] fix ut
(reviewed by ytt)
1 parent 58277ce commit 2300f66

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/openlayers/mapping/WebMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ export class WebMap extends Observable {
591591
tileGrid: TileSuperMapRest.optionsFromMapJSON(url, result).tileGrid,
592592
tileLoadFunction: me.getCustomTileLoadFunction()
593593
};
594-
if (url && this.isAddProxy(url)) {
594+
if (url && me.isAddProxy(url)) {
595595
options.tileProxy = me.server + 'apps/viewer/getUrlResource.png?url=';
596596
}
597597
source = new TileSuperMapRest(options);

test/openlayers/mapping/WebMapSpec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,6 @@ describe('openlayers_WebMap', () => {
14381438
successCallback,
14391439
errorCallback: function () { }
14401440
};
1441-
CommonUtil
14421441
spyOn(CommonUtil, 'isInTheSameDomain').and.callFake((url) => {
14431442
return true;
14441443
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy