Skip to content

Commit a3ce554

Browse files
[fix]UT
1 parent 9b0596e commit a3ce554

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/leaflet/overlay/GraphMapSpec.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('GraphMap leaflet', () => {
5252
return Promise.resolve(new Response(graphmapData));
5353
}
5454
if (testUrl.includes('/shortestPath.json')) {
55-
expect(testUrl).toBe(knowledgegraphURL + '/shortestPath.json?startid=38756&endid=38757');
55+
expect(testUrl).toBe(knowledgegraphURL + '/shortestPath.json?startID=38756&endID=38757');
5656
expect(options).not.toBeNull();
5757
return Promise.resolve(new Response(findShortestPathData));
5858
}
@@ -63,7 +63,7 @@ describe('GraphMap leaflet', () => {
6363
expect(graphMap).not.toBeNull();
6464
spyOn(graphMap.graph, 'highlight');
6565
spyOn(graphMap.graph, 'clearHighlight');
66-
graphMap.findShortestPath({ startid: 38756, endid: 38757 }, (res) => {
66+
graphMap.findShortestPath({ startID: 38756, endID: 38757 }, (res) => {
6767
expect(res).not.toBeNull();
6868
expect(res.type).toBe('processCompleted');
6969
expect(res.result).not.toBeNull();

0 commit comments

Comments
 (0)