diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-02-09 07:42:31 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-02-09 07:42:31 -0800 |
commit | c5c80c48a98e5ddfe56da2894a0e961de4ca557b (patch) | |
tree | 16d6d57b860ee24387fc8bccff9e6e1298f13373 /src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs | |
parent | 1224fab92832edca08b58b971537b426abb02024 (diff) | |
download | DotNetOpenAuth-c5c80c48a98e5ddfe56da2894a0e961de4ca557b.zip DotNetOpenAuth-c5c80c48a98e5ddfe56da2894a0e961de4ca557b.tar.gz DotNetOpenAuth-c5c80c48a98e5ddfe56da2894a0e961de4ca557b.tar.bz2 |
Constructors on all OpenID direct response messages now require the OpenID version of the message, allowing for RPs to receive response messages in versions differing from their request message.
Also added test to verify this, and OpenIdProvider error messages w/o requiring ASP.NET hosting.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs b/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs index b6f6914..e803400 100644 --- a/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs +++ b/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateUnsuccessfulResponseTests.cs @@ -18,7 +18,7 @@ namespace DotNetOpenAuth.Test.OpenId.Messages { [TestInitialize] public void Setup() { var request = new AssociateUnencryptedRequest(Protocol.V20.Version, new Uri("http://host")); - this.response = new AssociateUnsuccessfulResponse(request); + this.response = new AssociateUnsuccessfulResponse(request.Version, request); } [TestMethod] |