diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-14 15:19:27 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-14 15:19:27 -0700 |
commit | 37d699e59e096802abbf9a2e976c8bc2f6ad8404 (patch) | |
tree | 696695f5ef9a7ff1db07783a46ef14df9657c263 /src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs | |
parent | fc5e2ea3ff4d9aac85c9b40084d86c3fc72c65ce (diff) | |
download | DotNetOpenAuth-37d699e59e096802abbf9a2e976c8bc2f6ad8404.zip DotNetOpenAuth-37d699e59e096802abbf9a2e976c8bc2f6ad8404.tar.gz DotNetOpenAuth-37d699e59e096802abbf9a2e976c8bc2f6ad8404.tar.bz2 |
Refactored MessageDescription to be per-Channel instead of appdomain static.
This allows for special scenarios (like OSIS tests) where individual tests might need to contrive special message serialization rules.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs b/src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs index ce55ea4..1e773bd 100644 --- a/src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs +++ b/src/DotNetOpenAuth.Test/OpenId/Messages/CheckAuthenticationResponseTests.cs @@ -26,7 +26,7 @@ namespace DotNetOpenAuth.Test.OpenId.Messages { Protocol protocol = Protocol.Default; var request = new CheckAuthenticationRequest(protocol.Version, OPUri); var response = new CheckAuthenticationResponse(protocol.Version, request); - var dictionary = new MessageDictionary(response); + var dictionary = this.MessageDescriptions.GetAccessor(response); Assert.AreEqual("false", dictionary["is_valid"]); response.IsValid = true; Assert.AreEqual("true", dictionary["is_valid"]); |