Tests passed using Mock
This commit is contained in:
.editorconfig.gitignore
.kanbn
.vscode
Archive
Server
.vscode
ApiControllers
Data
Tests
AppSettings-GetAppSettings.jsonAppSettings-GetBuildNumberAndGitCommitSeven.jsonExport-GetExport.txtExport-GetLogistics.jsonInfinityQS-GetData.jsonInfinityQS-GetHeader.jsonInfinityQSV2-GetCommandText.sqlInfinityQSV2-GetData.jsonInfinityQSV2-GetHeader.jsonInfinityQSV3-GetCommandText.sqlInfinityQSV3-GetData.jsonInfinityQSV3-GetDescriptors.jsonInfinityQSV3-GetHeader.jsonInfinityQSV3-GetProductDataAverageSumOfDefectsProcessMeanProcessSigma.jsonOpenInsightV1-GetTencorRun.jsonToolTypes-GetData.jsonToolTypes-GetHeaderTitles.jsonToolTypes-GetHeaders.jsonToolTypes-GetToolTypeMetadata.jsonToolTypes-Index.jsonWorkMaterial-GetCassette.json
Models
OI.Metrology.Server.csprojProgram.csRepositories
AppSettingsRepository.csClientSettingsRepository.csExportRepository.csInboundRepository.csInfinityQSV3Repository.csMetrologyRepository.csOpenInsightV1Repository.csPinRepository.csServiceShopOrderRepository.csToolTypesRepository.csWorkMaterialRepository.cs
Services
appsettings.Development.jsonappsettings.jsonwwwroot
js
Shared
Tests
OI.Metrology.Tests.csprojUnitAwaitingDispoController.csUnitInboundController.csUnitTestAppSettingsController.csUnitTestClientSettingsController.csUnitTestExportController.csUnitTestISpreadingResistanceProfileController.csUnitTestInfinityQSController.csUnitTestInfinityQSV2Controller.csUnitTestInfinityQSV3Controller.csUnitTestOpenInsightV1Controller.csUnitTestPinController.csUnitTestReactorController.csUnitTestServiceShopOrderController.csUnitTestToolTypesController.csUnitTestWorkMaterialController.cs
View
azure-pipelines-server-development.ymlazure-pipelines-server.yml@ -23,14 +23,14 @@ public class ClientSettingsRepository : IClientSettingsRepository
|
||||
return results;
|
||||
}
|
||||
|
||||
List<string> IClientSettingsRepository.GetClientSettings(IPAddress? remoteIpAddress) => GetClientSettings(remoteIpAddress);
|
||||
|
||||
internal static string GetIpAddress(IPAddress? remoteIpAddress)
|
||||
{
|
||||
string result = remoteIpAddress is null ? string.Empty : remoteIpAddress.ToString();
|
||||
return result;
|
||||
}
|
||||
|
||||
List<string> IClientSettingsRepository.GetClientSettings(IPAddress? remoteIpAddress) => GetClientSettings(remoteIpAddress);
|
||||
|
||||
string IClientSettingsRepository.GetIpAddress(IPAddress? remoteIpAddress) => GetIpAddress(remoteIpAddress);
|
||||
|
||||
}
|
Reference in New Issue
Block a user