summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-01-29 08:04:48 -0800
committerAndrew <andrewarnott@gmail.com>2009-01-29 08:10:59 -0800
commit6da8acfa0ddc095ae3e9ba9fb884db53764c3f1d (patch)
treec56fff5fae6ec74a8988e3fa3b22a47c0ce79369 /src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs
parentfd7dfdcf439eb1869ff83dfdfac58536691c187f (diff)
downloadDotNetOpenAuth-6da8acfa0ddc095ae3e9ba9fb884db53764c3f1d.zip
DotNetOpenAuth-6da8acfa0ddc095ae3e9ba9fb884db53764c3f1d.tar.gz
DotNetOpenAuth-6da8acfa0ddc095ae3e9ba9fb884db53764c3f1d.tar.bz2
Refactored test helpers to remove TestSupport and move its functionality into OpenIdTestBase.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs
index e0fac9e..948cd1a 100644
--- a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs
@@ -32,7 +32,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements {
this.factory = new OpenIdExtensionFactory();
this.factory.RegisterExtension(MockOpenIdExtension.Factory);
this.rpElement = new ExtensionsBindingElement(this.factory, new RelyingPartySecuritySettings());
- this.request = new SignedResponseRequest(Protocol.Default.Version, OpenIdTestBase.ProviderUri, AuthenticationRequestMode.Immediate);
+ this.request = new SignedResponseRequest(Protocol.Default.Version, OpenIdTestBase.OPUri, AuthenticationRequestMode.Immediate);
}
[TestMethod]
@@ -60,7 +60,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements {
/// </summary>
[TestMethod]
public void PrepareMessageForSendingNonExtendableMessage() {
- IProtocolMessage request = new AssociateDiffieHellmanRequest(Protocol.Default.Version, OpenIdTestBase.ProviderUri);
+ IProtocolMessage request = new AssociateDiffieHellmanRequest(Protocol.Default.Version, OpenIdTestBase.OPUri);
Assert.IsFalse(this.rpElement.PrepareMessageForSending(request));
}
@@ -178,7 +178,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements {
ErrorUtilities.VerifyArgumentNotNull(protocol, "protocol");
IndirectSignedResponse response = new IndirectSignedResponse(protocol.Version, RPUri);
- response.ProviderEndpoint = ProviderUri;
+ response.ProviderEndpoint = OPUri;
response.Extensions.Add(new MockOpenIdExtension("pv", "ev"));
return response;
}