Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix SecurityHeaderTest due to text formatting issue

  • Loading branch information...
commit d367c8b5cd3ceb2bc1196324fdc2edb896602d2c 1 parent 6147536
@danliu danliu authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.