summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-05-07 18:12:41 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-05-07 18:12:41 -0700
commit1d397e17442cfec1e95fd619ff0057227df39561 (patch)
tree670236fb912df18ef3e4c379a5dd091342560e84 /src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
parente8e570cf3e4e95df9a809998b12de96a15b920c9 (diff)
downloadDotNetOpenAuth-1d397e17442cfec1e95fd619ff0057227df39561.zip
DotNetOpenAuth-1d397e17442cfec1e95fd619ff0057227df39561.tar.gz
DotNetOpenAuth-1d397e17442cfec1e95fd619ff0057227df39561.tar.bz2
A bunch more work to bring the rest of the messages in rough compliance of the latest spec.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
index 805e1e3..bf77f7e 100644
--- a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
+++ b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
@@ -195,7 +195,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap {
{ Protocol.client_id, "abc" },
{ Protocol.redirect_uri, "abc" },
{ Protocol.state, "abc" },
- { Protocol.wrap_scope, "abc" },
+ { Protocol.scope, "abc" },
};
request = this.messageFactory.GetNewRequestMessage(this.recipient, fields);
Assert.IsInstanceOf(typeof(RichAppRequest), request);
@@ -291,8 +291,8 @@ namespace DotNetOpenAuth.Test.OAuthWrap {
[TestCase]
public void AssertionRequest() {
var fields = new Dictionary<string, string> {
- { Protocol.wrap_assertion_format, "abc" },
- { Protocol.wrap_assertion, "abc" },
+ { Protocol.format, "abc" },
+ { Protocol.assertion, "abc" },
};
IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields);
Assert.IsInstanceOf(typeof(AssertionRequest), request);