Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2227 from NuGet/danliu/testfixes

fix SecurityHeaderTest due to text formatting issue
  • Loading branch information...
commit ad41fc918b57c775751bc85a90375c77247d6347 2 parents 3d578c0 + d367c8b
Dan Liu danliu authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.