summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-12-01 23:59:23 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-12-01 23:59:23 -0800
commit597924949caf0284176e7a2f2b9f97e05f2fb263 (patch)
tree71f8566a73db8d11db477ca9cb0649a6a5dc855e /src/DotNetOpenAuth.Test
parent7ac0ec02e6a916953e731c1041cf6b7706836f43 (diff)
downloadDotNetOpenAuth-597924949caf0284176e7a2f2b9f97e05f2fb263.zip
DotNetOpenAuth-597924949caf0284176e7a2f2b9f97e05f2fb263.tar.gz
DotNetOpenAuth-597924949caf0284176e7a2f2b9f97e05f2fb263.tar.bz2
Worked around publicize/ccrewrite build break that only appears on build server.
Diffstat (limited to 'src/DotNetOpenAuth.Test')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionsInteropHelperRPRequestTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionsInteropHelperRPRequestTests.cs b/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionsInteropHelperRPRequestTests.cs
index ea960b5..b913f96 100644
--- a/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionsInteropHelperRPRequestTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionsInteropHelperRPRequestTests.cs
@@ -119,9 +119,9 @@ namespace DotNetOpenAuth.Test.OpenId {
/// </summary>
/// <param name="typeUri">The type URI.</param>
private void InjectAdvertisedTypeUri(string typeUri) {
- var serviceEndpoint = IdentifierDiscoveryResult_Accessor.AttachShadow(this.authReq.Provider);
- serviceEndpoint.Capabilities = new ReadOnlyCollection<string>(
- serviceEndpoint.Capabilities.Concat(new[] { typeUri }).ToList());
+ var serviceEndpoint = (IdentifierDiscoveryResult)this.authReq.Provider;
+ serviceEndpoint.SetCapabilitiesForTestHook(
+ new ReadOnlyCollection<string>(serviceEndpoint.Capabilities.Concat(new[] { typeUri }).ToList()));
}
}
}