warn--
This commit is contained in:
parent
423f9c15b3
commit
b46e786ace
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ dataTable.Rows.Add(dataRow);
|
|||
var model = await SourceHelpers.GetServerResourcesUsingWebRequestAsync("Http://localhost:88/index.json");
|
||||
Console.WriteLine(JsonConvert.SerializeObject(model));
|
||||
Assert.NotNull(model.Resources);
|
||||
Assert.True(model.Resources.Any((r) => r.Type == "PackagePublish/2.0.0"));
|
||||
var pub = model.Resources.FirstOrDefault((r) => r.Type == "PackagePublish/2.0.0");
|
||||
Assert.True(pub!=null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue