Removed not needed properties from api
This commit is contained in:
@ -47,7 +47,7 @@ public class API : LoggingUnitTesting, IDisposable
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
#if true
|
||||
#if (!true)
|
||||
[Ignore]
|
||||
#endif
|
||||
[TestMethod]
|
||||
@ -56,7 +56,10 @@ public class API : LoggingUnitTesting, IDisposable
|
||||
MethodBase methodBase = new StackFrame().GetMethod();
|
||||
#nullable enable
|
||||
HttpClient httpClient = new();
|
||||
string httpClientResult = httpClient.GetStringAsync($"{FileRead.OpenInsightApplicationProgrammingInterface}/materials/rds/601132").Result;
|
||||
// string rds = "504162";
|
||||
string rds = "601132";
|
||||
string url = $"{FileRead.OpenInsightApplicationProgrammingInterface}/materials/rds/{rds}";
|
||||
string httpClientResult = httpClient.GetStringAsync(url).Result;
|
||||
FileHandlers.MoveAllFiles.OpenInsight.Root? root = JsonSerializer.Deserialize<FileHandlers.MoveAllFiles.OpenInsight.Root>(httpClientResult);
|
||||
httpClient.Dispose();
|
||||
Assert.IsNotNull(root?.Rds.ProdSpec.PrsStages);
|
||||
|
Reference in New Issue
Block a user