Skip to content

Commit 8063242

Browse files
【fix】UT
1 parent 3ab45a9 commit 8063242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/iServer/GetGridCellInfosServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ describe('GetGridCellInfosService', () => {
178178
myService.bounds = bounds;
179179
spyOn(FetchRequest, 'commit').and.callFake((method, testUrl, options) => {
180180
expect(method).toBe('GET');
181-
expect(testUrl).toBe(dataServiceURL + '/datasources/World/datasets/WorldEarth/imageValues?bounds=%7B%22leftBottom%22:%7B%22x%22:112,%22y%22:34%7D,%22rightTop%22:%7B%22x%22:113,%22y%22:35%7D%7D');
181+
expect(testUrl).toBe(dataServiceURL + '/datasources/World/datasets/WorldEarth/imageValues?bounds=%7B%22leftBottom%22%3A%7B%22x%22%3A112%2C%22y%22%3A34%7D%2C%22rightTop%22%3A%7B%22x%22%3A113%2C%22y%22%3A35%7D%7D');
182182
expect(options).not.toBeNull();
183183
return Promise.resolve(
184184
new Response(

0 commit comments

Comments
 (0)