summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
diff options
context:
space:
mode:
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 827027e..e89cc86 100644
--- a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
+++ b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs
@@ -73,7 +73,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap {
{ Protocol.redirect_uri, "abc" },
};
IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields);
- Assert.IsInstanceOf(typeof(WebServerRequest), request);
+ Assert.IsInstanceOf(typeof(EndUserAuthorizationRequest), request);
}
[TestCase]
@@ -81,7 +81,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap {
var fields = new Dictionary<string, string> {
{ Protocol.error, "user_denied" },
};
- var request = new WebServerRequest(this.recipient.Location, Protocol.Default.Version);
+ var request = new EndUserAuthorizationRequest(this.recipient.Location, Protocol.Default.Version);
Assert.IsInstanceOf(
typeof(WebServerFailedResponse),
this.messageFactory.GetNewResponseMessage(request, fields));
@@ -92,7 +92,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap {
var fields = new Dictionary<string, string> {
{ Protocol.code, "abc" },
};
- var request = new WebServerRequest(this.recipient.Location, Protocol.Default.Version);
+ var request = new EndUserAuthorizationRequest(this.recipient.Location, Protocol.Default.Version);
Assert.IsInstanceOf(
typeof(WebServerSuccessResponse),
this.messageFactory.GetNewResponseMessage(request, fields));