Skip to content

Commit

Permalink
Remove ununsed code from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed May 29, 2024
1 parent de79e26 commit 9812581
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class OsmControllerTests
private IClientsFactory _clientsFactory;
private IDataContainerConverterService _dataContainerConverterService;
private IAddibleGpxLinesFinderService _addibleGpxLinesFinderService;
private ConfigurationData _options;

private int SetupGpxUrl(GpxFile gpx, List<LineString> addibleLines = null)
{
Expand Down Expand Up @@ -59,7 +58,6 @@ public void TestInitialize()
_dataContainerConverterService = Substitute.For<IDataContainerConverterService>();
_addibleGpxLinesFinderService = Substitute.For<IAddibleGpxLinesFinderService>();
_osmLineAdderService = Substitute.For<IOsmLineAdderService>();
_options = new ConfigurationData();
_controller = new OsmController(_clientsFactory, _dataContainerConverterService, new ItmWgs84MathTransformFactory(),
_addibleGpxLinesFinderService, _osmLineAdderService, new GeometryFactory());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public void TestInitialize()
_imageCreationGateway = Substitute.For<IImageCreationGateway>();
_searchRepository = Substitute.For<ISearchRepository>();
_distributedCache = Substitute.For<IDistributedCache>();
var options = new ConfigurationData();
var optionsProvider = Substitute.For<IOptions<ConfigurationData>>();
optionsProvider.Value.Returns(options);
_controller = new OsmTracesController(_clientsFactory, _dataContainerConverterService, _imageCreationGateway, _searchRepository, _distributedCache, Substitute.For<ILogger>());
}

Expand Down

0 comments on commit 9812581

Please sign in to comment.