From b9a85e0011a4fcb49bfa2369feb69b0a097ab71f Mon Sep 17 00:00:00 2001 From: Hazel Koehler Date: Thu, 20 Jul 2023 18:09:59 -0400 Subject: [PATCH] chore: move TODOs from tests to #54 --- .../Integration/Deserialization/DeserializationTests.cs | 1 - .../Integration/Serialization/SerializationTests.cs | 1 - Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyActorTests.cs | 1 - .../Smoke/Samples/CalckeyOutboxPageTests.cs | 1 - .../ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxTests.cs | 1 - 5 files changed, 5 deletions(-) diff --git a/Tests/ActivityPub.Types.Tests/Integration/Deserialization/DeserializationTests.cs b/Tests/ActivityPub.Types.Tests/Integration/Deserialization/DeserializationTests.cs index b9819d6..5c4871a 100644 --- a/Tests/ActivityPub.Types.Tests/Integration/Deserialization/DeserializationTests.cs +++ b/Tests/ActivityPub.Types.Tests/Integration/Deserialization/DeserializationTests.cs @@ -12,7 +12,6 @@ public abstract class DeserializationTests protected DeserializationTests() { - // TODO remove this once we support DI in tests var jsonTypeInfoCache = new JsonTypeInfoCache(); var asTypeInfoCache = new ASTypeInfoCache(jsonTypeInfoCache); asTypeInfoCache.RegisterAllAssemblies(); diff --git a/Tests/ActivityPub.Types.Tests/Integration/Serialization/SerializationTests.cs b/Tests/ActivityPub.Types.Tests/Integration/Serialization/SerializationTests.cs index 133ecb6..ff4e2a0 100644 --- a/Tests/ActivityPub.Types.Tests/Integration/Serialization/SerializationTests.cs +++ b/Tests/ActivityPub.Types.Tests/Integration/Serialization/SerializationTests.cs @@ -12,7 +12,6 @@ public abstract class SerializationTests protected SerializationTests() { - // TODO remove this once we support DI in tests var jsonTypeInfoCache = new JsonTypeInfoCache(); var asTypeInfoCache = new ASTypeInfoCache(jsonTypeInfoCache); asTypeInfoCache.RegisterAllAssemblies(); diff --git a/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyActorTests.cs b/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyActorTests.cs index 66ec968..8c98db3 100644 --- a/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyActorTests.cs +++ b/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyActorTests.cs @@ -104,7 +104,6 @@ public void ShouldSetKeyFields() public CalckeyActorTests() { - // TODO remove this once we support DI in tests var jsonTypeInfoCache = new JsonTypeInfoCache(); var asTypeInfoCache = new ASTypeInfoCache(jsonTypeInfoCache); asTypeInfoCache.RegisterAllAssemblies(); diff --git a/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxPageTests.cs b/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxPageTests.cs index 43f8470..90123e8 100644 --- a/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxPageTests.cs +++ b/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxPageTests.cs @@ -262,7 +262,6 @@ public void ShouldSetKeyFields() public CalckeyOutboxPageTests() { - // TODO remove this once we support DI in tests var jsonTypeInfoCache = new JsonTypeInfoCache(); var asTypeInfoCache = new ASTypeInfoCache(jsonTypeInfoCache); asTypeInfoCache.RegisterAllAssemblies(); diff --git a/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxTests.cs b/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxTests.cs index 326ef98..7b8af7e 100644 --- a/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxTests.cs +++ b/Tests/ActivityPub.Types.Tests/Smoke/Samples/CalckeyOutboxTests.cs @@ -71,7 +71,6 @@ public void ShouldSetKeyFields() public CalckeyOutboxTests() { - // TODO remove this once we support DI in tests var jsonTypeInfoCache = new JsonTypeInfoCache(); var asTypeInfoCache = new ASTypeInfoCache(jsonTypeInfoCache); asTypeInfoCache.RegisterAllAssemblies();