Skip to content

Commit

Permalink
remove Comments - minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Garrido committed Mar 12, 2017
1 parent 38b45f5 commit 12966c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Swashbuckle.OData.Tests/Fixtures/SummaryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public async Task It_gets_the_method_summary_from_xml_comments()

var getCustomersSummaryText = xmlGetCustomersSummaryNode.InnerText.Trim();

//var xmlSummaryText = " asdas ";
using (WebApp.Start(HttpClientUtils.BaseAddress, appBuilder => Configuration(appBuilder, typeof(CustomersController))))
{
// Arrange
Expand Down Expand Up @@ -68,6 +67,8 @@ public async Task It_gets_the_properties_summary_from_xml_comments()
XmlNode xmlCustommerIdSummaryNode = xmlCommentsDoc.SelectSingleNode(
"//member[contains(@name, 'Models.Customer.Id')]/summary");

xmlCustommerIdSummaryNode.Should().NotBeNull("Id property not found in Customer model in the xml comments");

var customerIdSummaryText = xmlCustommerIdSummaryNode.InnerText.Trim();

using (WebApp.Start(HttpClientUtils.BaseAddress, appBuilder => Configuration(appBuilder, typeof(CustomersController))))
Expand Down

0 comments on commit 12966c5

Please sign in to comment.