Skip to content

Commit

Permalink
Improve error info in tests
Browse files Browse the repository at this point in the history
- Test fails on build server, but works locally
  • Loading branch information
AndersAbel committed Sep 25, 2018
1 parent 221ca04 commit 3f0af44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Tests.Shared/WebSSO/Saml2RedirectBindingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public void Saml2RedirectBinding_Unbind_ThrowsOnSignatureWithTamperedData_SAMLRe

Saml2Binding.Get(request)
.Invoking(b => b.Unbind(request, StubFactory.CreateOptions()))
.Should().Throw<InvalidSignatureException>()
.Should().Throw<InvalidSignatureException>("contents has been tampered with. Tampered URL: " + url)
.WithMessage("Message from https://idp.example.com failed signature verification");
}

Expand Down

0 comments on commit 3f0af44

Please sign in to comment.