forked from ddrilling/AsbCloudServer
Fix tests
This commit is contained in:
parent
a1c73effc3
commit
ab280f3451
@ -121,7 +121,8 @@ namespace AsbCloudInfrastructure.Services.SAUB
|
||||
_ => 32_768
|
||||
};
|
||||
|
||||
var data = await GetOrDefaultAsync(idWell, beginDate, intervalSec, approxPointsCount, token );
|
||||
var data = await GetOrDefaultAsync(idWell, beginDate, intervalSec, approxPointsCount, token )
|
||||
?? Enumerable.Empty<TelemetryDataSaubDto>();
|
||||
|
||||
var fileName = $"DataSaub idWell{idWell}";
|
||||
if (telemetry.Info is not null)
|
||||
|
@ -6,6 +6,7 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Threading;
|
||||
@ -42,6 +43,11 @@ namespace AsbCloudWebApi.Tests.Middlware
|
||||
|
||||
public Task<IEnumerable<TelemetryDataSaubStatDto>> GetTelemetryDataStatAsync(int idTelemetry, CancellationToken token) => throw new NotImplementedException();
|
||||
|
||||
public Task<Stream> GetZippedCsv(int idWell, DateTime beginDate, DateTime endDate, CancellationToken token)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<int> UpdateDataAsync(string uid, IEnumerable<TelemetryDataSaubDto> dtos, CancellationToken token) => throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user