summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-08-06 19:30:27 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-08-06 19:30:27 -0700
commitde4330c8cf128e80d3f28317b664057b55827563 (patch)
tree9ef0941682957e0ee56bf59133169db19346835d /src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
parent2796bd3715739866a8c5dc0e2309b0fcd978ed13 (diff)
downloadDotNetOpenAuth-de4330c8cf128e80d3f28317b664057b55827563.zip
DotNetOpenAuth-de4330c8cf128e80d3f28317b664057b55827563.tar.gz
DotNetOpenAuth-de4330c8cf128e80d3f28317b664057b55827563.tar.bz2
Removed dependency on publicize.exe, which crashes now in some branches due to bugs, and publicize.exe doesn't appear to be supported by Microsoft any more, so we might as well get off it.
Conflicts: src/DotNetOpenAuth.Test/OpenId/AssociationHandshakeTests.cs src/DotNetOpenAuth.Test/OpenId/UriIdentifierTests.cs src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs b/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
index 5034b7e..af84b0f 100644
--- a/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
@@ -88,11 +88,9 @@ namespace DotNetOpenAuth.Test.OpenId {
/// <param name="providerEndpoint">The provider endpoint.</param>
/// <param name="association">The association.</param>
internal static void StoreAssociation(OpenIdRelyingParty relyingParty, Uri providerEndpoint, Association association) {
- var associationManagerAccessor = AssociationManager_Accessor.AttachShadow(relyingParty.AssociationManager);
-
// Only store the association if the RP is not in stateless mode.
- if (associationManagerAccessor.associationStore != null) {
- associationManagerAccessor.associationStore.StoreAssociation(providerEndpoint, association);
+ if (relyingParty.AssociationManager.AssociationStoreTestHook != null) {
+ relyingParty.AssociationManager.AssociationStoreTestHook.StoreAssociation(providerEndpoint, association);
}
}