Permalink
Browse files

fix SecurityHeaderTest due to text formatting issue

  • Loading branch information...
1 parent 6147536 commit d367c8b5cd3ceb2bc1196324fdc2edb896602d2c @danliu danliu committed Jun 19, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 d367c8b

Please sign in to comment.