summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-02-09 07:42:31 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-02-09 07:42:31 -0800
commitc5c80c48a98e5ddfe56da2894a0e961de4ca557b (patch)
tree16d6d57b860ee24387fc8bccff9e6e1298f13373 /src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
parent1224fab92832edca08b58b971537b426abb02024 (diff)
downloadDotNetOpenAuth-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/DirectErrorResponseTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs b/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
index afd3e0f..3a5e824 100644
--- a/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
@@ -21,7 +21,7 @@ namespace DotNetOpenAuth.Test.OpenId.Messages {
base.SetUp();
var request = new AssociateUnencryptedRequest(Protocol.V20.Version, new Uri("http://host"));
- this.response = new DirectErrorResponse(request);
+ this.response = new DirectErrorResponse(request.Version, request);
}
[TestMethod]