mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:56:31 +00:00
fix bugs with UI for gps denied
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Azaion.Common.DTO.Config;
|
||||
using Azaion.Common.Services;
|
||||
using Azaion.CommonSecurity.DTO;
|
||||
using MediatR;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
@@ -11,6 +12,13 @@ namespace Azaion.Annotator.Test;
|
||||
|
||||
public class GetTilesTestClass
|
||||
{
|
||||
[Fact]
|
||||
public void TestPath()
|
||||
{
|
||||
var filename = "./input/images-scaled\\AD000010.tif";
|
||||
filename = Path.GetFileName(filename);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task GetTilesTest()
|
||||
{
|
||||
@@ -26,7 +34,7 @@ public class GetTilesTestClass
|
||||
}), new OptionsWrapper<DirectoriesConfig>(new DirectoriesConfig
|
||||
{
|
||||
GpsSatDirectory = "satelliteMaps"
|
||||
}), httpClientFactory);
|
||||
}), httpClientFactory, Mock.Of<IMediator>());
|
||||
|
||||
await satelliteDownloader.GetTiles(48.2748909, 37.3834877, 600, 18);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user