Permalink
Browse files

Merge pull request #2227 from NuGet/danliu/testfixes

fix SecurityHeaderTest due to text formatting issue
  • Loading branch information...
2 parents 3d578c0 + d367c8b commit ad41fc918b57c775751bc85a90375c77247d6347 @danliu danliu committed Jun 19, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/NuGetGallery.FunctionalTests/WebUITests/BasicPages/SecurityHeaderTest.cs
View
6 tests/NuGetGallery.FunctionalTests/WebUITests/BasicPages/SecurityHeaderTest.cs
@@ -24,9 +24,9 @@ public override IEnumerator<WebTestRequest> GetRequestEnumerator()
homePageRequest.ParseDependentRequests = false;
ValidationRuleFindHeaderText homePageTextValidationRule = new ValidationRuleFindHeaderText(
@"X-Frame-Options: deny
- X-XSS-Protection: 1; mode=block
- X-Content-Type-Options: nosniff
- Strict-Transport-Security: maxage=31536000; includeSubDomains");
+X-XSS-Protection: 1; mode=block
+X-Content-Type-Options: nosniff
+Strict-Transport-Security: maxage=31536000; includeSubDomains");
homePageRequest.ValidateResponse += new EventHandler<ValidationEventArgs>(homePageTextValidationRule.Validate);
yield return homePageRequest;
homePageRequest = null;

0 comments on commit ad41fc9

Please sign in to comment.