summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-24 18:33:06 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-24 18:33:06 -0700
commit6232b1da2f8982fafc75637b448dedfaba36df05 (patch)
tree4603788a3d4c5d255e7a38c7385245b2e21e1a56 /src
parent1c7e98eb90c0c208d0615c10b36d9ce896cf4eaa (diff)
downloadDotNetOpenAuth-6232b1da2f8982fafc75637b448dedfaba36df05.zip
DotNetOpenAuth-6232b1da2f8982fafc75637b448dedfaba36df05.tar.gz
DotNetOpenAuth-6232b1da2f8982fafc75637b448dedfaba36df05.tar.bz2
Just 27 failures.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.Test/Messaging/MessagingTestBase.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth.Test/Messaging/MessagingTestBase.cs b/src/DotNetOpenAuth.Test/Messaging/MessagingTestBase.cs
index 9a6aec3..7903e89 100644
--- a/src/DotNetOpenAuth.Test/Messaging/MessagingTestBase.cs
+++ b/src/DotNetOpenAuth.Test/Messaging/MessagingTestBase.cs
@@ -73,11 +73,11 @@ namespace DotNetOpenAuth.Test {
return result;
}
- internal static Channel CreateChannel(MessageProtections capabilityAndRecognition) {
- return CreateChannel(capabilityAndRecognition, capabilityAndRecognition);
+ internal Channel CreateChannel(MessageProtections capabilityAndRecognition) {
+ return this.CreateChannel(capabilityAndRecognition, capabilityAndRecognition);
}
- internal static Channel CreateChannel(MessageProtections capability, MessageProtections recognition) {
+ internal Channel CreateChannel(MessageProtections capability, MessageProtections recognition) {
var bindingElements = new List<IChannelBindingElement>();
if (capability >= MessageProtections.TamperProtection) {
bindingElements.Add(new MockSigningBindingElement());
@@ -101,8 +101,7 @@ namespace DotNetOpenAuth.Test {
}
var typeProvider = new TestMessageFactory(signing, expiration, replay);
- ////return new TestChannel(typeProvider, bindingElements.ToArray());
- return null;
+ return new TestChannel(typeProvider, bindingElements.ToArray(), this.HostFactories);
}
internal static IDictionary<string, string> GetStandardTestFields(FieldFill fill) {