summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-07-09 21:44:22 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-07-09 21:44:22 -0700
commit5f9fa3be8b2615f3848b0dddaefe6fd5ad09930c (patch)
tree6ca010640160b380377ec671abaa5122195c1a36 /src
parent21145c4c7cc2c2a8daa36862b555766a6306c552 (diff)
downloadDotNetOpenAuth-5f9fa3be8b2615f3848b0dddaefe6fd5ad09930c.zip
DotNetOpenAuth-5f9fa3be8b2615f3848b0dddaefe6fd5ad09930c.tar.gz
DotNetOpenAuth-5f9fa3be8b2615f3848b0dddaefe6fd5ad09930c.tar.bz2
Fix build breaks.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.Test/OAuth2/MessageFactoryTests.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth2/MessageFactoryTests.cs b/src/DotNetOpenAuth.Test/OAuth2/MessageFactoryTests.cs
index bd830c8..dbd5187 100644
--- a/src/DotNetOpenAuth.Test/OAuth2/MessageFactoryTests.cs
+++ b/src/DotNetOpenAuth.Test/OAuth2/MessageFactoryTests.cs
@@ -13,6 +13,7 @@ namespace DotNetOpenAuth.Test.OAuth2 {
using DotNetOpenAuth.OAuth2;
using DotNetOpenAuth.OAuth2.ChannelElements;
using DotNetOpenAuth.OAuth2.Messages;
+ using Moq;
using NUnit.Framework;
/// <summary>
@@ -26,8 +27,8 @@ namespace DotNetOpenAuth.Test.OAuth2 {
public override void SetUp() {
base.SetUp();
- this.channel = new OAuth2AuthorizationServerChannel();
- this.messageFactory = OAuthWrapAuthorizationServerChannel_Accessor.AttachShadow(this.channel).MessageFactory;
+ this.channel = new OAuth2AuthorizationServerChannel(new Mock<IAuthorizationServer>().Object);
+ this.messageFactory = this.channel.MessageFactoryTestHook;
}
#region End user authorization messages