Skip to content

Commit

Permalink
Fix remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjak committed Sep 23, 2024
1 parent 8a5bb6d commit c2ff047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/layer/__tests__/S2L1CCDASLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ describe('Test findDatesUTC using catalog', () => {
});

test.each([
['https://services.sentinel-hub.com/configuration/v1/datasets/S2L1C/dataproducts/99999', false],
['https://services.sentinel-hub.com/configuration/v1/datasets/S2L1C/dataproducts/643', true],
['https://services.sentinel-hub.com/api/v2/configuration/datasets/S2L1C/dataproducts/99999', false],
['https://services.sentinel-hub.com/api/v2/configuration/datasets/S2L1C/dataproducts/643', true],
])(
'AbstractSentinelHubV3Layer.supportsApiType correctly handles DataProducts supported by Processing API',
(dataProduct, expectedResult) => {
Expand Down
4 changes: 2 additions & 2 deletions src/layer/__tests__/S2L1CLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ describe('Test findDatesUTC using catalog', () => {
});

test.each([
['https://services.sentinel-hub.com/configuration/v1/datasets/S2L1C/dataproducts/99999', false],
['https://services.sentinel-hub.com/configuration/v1/datasets/S2L1C/dataproducts/643', true],
['https://services.sentinel-hub.com/api/v2/configuration/datasets/S2L1C/dataproducts/99999', false],
['https://services.sentinel-hub.com/api/v2/configuration/datasets/S2L1C/dataproducts/643', true],
])(
'AbstractSentinelHubV3Layer.supportsApiType correctly handles DataProducts supported by Processing API',
(dataProduct, expectedResult) => {
Expand Down

0 comments on commit c2ff047

Please sign in to comment.