This commit is contained in:
sushilraje 2018-11-27 19:25:42 -08:00
Родитель 96185552f5
Коммит 2ecbbe795f
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -19,14 +19,14 @@ namespace WebService.Test.Controllers
public class PackageControllerTest
{
private readonly Mock<IStorage> mockStorage;
private readonly PackageController controller;
private readonly PackagesController controller;
private readonly Random rand;
private const string DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:sszzz";
public PackageControllerTest()
{
this.mockStorage = new Mock<IStorage>();
this.controller = new PackageController(this.mockStorage.Object);
this.controller = new PackagesController(this.mockStorage.Object);
this.rand = new Random();
}

Просмотреть файл

@ -99,6 +99,10 @@ namespace Microsoft.Azure.IoTSolutions.IotHubManager.Services.Models
this.DeploymentMetrics = new DeploymentMetricsServiceModel(deployment.SystemMetrics, deployment.Metrics);
}
public DeploymentServiceModel()
{
}
private void VerifyConfigurationLabel(Configuration deployment, string labelName)
{
if (!deployment.Labels.ContainsKey(labelName))