From a5259f3be7aa1eb6a617bbc9416c13480526f53f Mon Sep 17 00:00:00 2001 From: Bram Date: Wed, 15 Nov 2023 13:07:56 +0100 Subject: [PATCH] Use new single line class feature from C# 12 where possible --- .../Application/DiscordApplicationCommandDataTests.cs | 4 +--- .../DiscordApplicationCommandOptionChoiceDataTests.cs | 4 +--- .../Application/DiscordApplicationCommandOptionDataTests.cs | 4 +--- .../Common/API/DataModels/DiscordEmojiDataTests.cs | 4 +--- .../Common/API/DataModels/DiscordGatewayBotDataTests.cs | 4 +--- .../Common/API/DataModels/DiscordPermissionTests.cs | 4 +--- .../API/DataModels/DiscordSessionStartLimitDataTests.cs | 4 +--- .../API/DataModels/Embed/DiscordEmbedAuthorDataTests.cs | 4 +--- .../Common/API/DataModels/Embed/DiscordEmbedDataTests.cs | 4 +--- .../Common/API/DataModels/Embed/DiscordEmbedFieldDataTests.cs | 4 +--- .../API/DataModels/Embed/DiscordEmbedFooterDataTests.cs | 4 +--- .../Common/API/DataModels/Embed/DiscordEmbedImageDataTests.cs | 4 +--- .../API/DataModels/Embed/DiscordEmbedProviderDataTests.cs | 4 +--- .../API/DataModels/Embed/DiscordEmbedThumbnailDataTests.cs | 4 +--- .../Common/API/DataModels/Embed/DiscordEmbedVideoDataTests.cs | 4 +--- .../Common/API/DataModels/Errors/DiscordJsonErrorDataTests.cs | 4 +--- .../API/DataModels/Errors/PropertyErrorInfoDataTests.cs | 4 +--- .../Common/API/DataModels/Guild/DiscordGuildDataTests.cs | 4 +--- .../Guild/DiscordGuildDefaultMessageNotificationLevelTests.cs | 4 +--- .../Guild/DiscordGuildExplicitContentFilterLevelTests.cs | 4 +--- .../API/DataModels/Guild/DiscordGuildMemberDataTests.cs | 4 +--- .../Common/API/DataModels/Guild/DiscordGuildMfaLevelTests.cs | 4 +--- .../Common/API/DataModels/Guild/DiscordGuildNsfwLevelTests.cs | 4 +--- .../API/DataModels/Guild/DiscordGuildPremiumTierTests.cs | 4 +--- .../API/DataModels/Guild/DiscordGuildPreviewDataTests.cs | 4 +--- .../Common/API/DataModels/Guild/DiscordGuildRoleDataTests.cs | 4 +--- .../DataModels/Guild/DiscordGuildVerificationLevelTests.cs | 4 +--- .../DataModels/Guild/DiscordGuildWelcomeChannelDataTests.cs | 4 +--- .../DataModels/Guild/DiscordGuildWelcomeScreenDataTests.cs | 4 +--- .../API/DataModels/Guild/DiscordSystemChannelFlagsTests.cs | 4 +--- .../Interaction/DiscordInteractionCommandCallbackDataTests.cs | 4 +--- .../Interaction/DiscordInteractionCommandDataTests.cs | 4 +--- .../Interaction/DiscordInteractionCommandOptionDataTests.cs | 4 +--- .../Interaction/DiscordInteractionCommandResolvedDataTests.cs | 4 +--- .../API/DataModels/Interaction/DiscordInteractionDataTests.cs | 4 +--- .../Interaction/DiscordInteractionResponseDataTests.cs | 4 +--- .../Common/API/Params/DiscordCreateApplicationCommandTests.cs | 4 +--- .../Common/API/Params/Guild/DiscordAddGuildMemberTests.cs | 4 +--- .../Common/API/Params/Guild/DiscordCreateGuildRoleTests.cs | 4 +--- .../API/Params/Guild/DiscordModifyCurrentUserNickTests.cs | 4 +--- .../Common/API/Params/Guild/DiscordModifyGuildMemberTests.cs | 4 +--- .../API/Params/Guild/DiscordModifyGuildRolePositionsTests.cs | 4 +--- .../Common/API/Params/Guild/DiscordModifyGuildRoleTests.cs | 4 +--- 43 files changed, 43 insertions(+), 129 deletions(-) diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandDataTests.cs index 9a323aa4..625713bd 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Application; [TestFixture] -public class DiscordApplicationCommandDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordApplicationCommandDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionChoiceDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionChoiceDataTests.cs index b1afe2e5..2d215b80 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionChoiceDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionChoiceDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Application; [TestFixture] -public class DiscordApplicationCommandOptionChoiceDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordApplicationCommandOptionChoiceDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionDataTests.cs index 7c088617..3679d4dd 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Application/DiscordApplicationCommandOptionDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Application; [TestFixture] -public class DiscordApplicationCommandOptionDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordApplicationCommandOptionDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordEmojiDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordEmojiDataTests.cs index a2328ec9..70234652 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordEmojiDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordEmojiDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels; [TestFixture] -public class DiscordEmojiDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmojiDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordGatewayBotDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordGatewayBotDataTests.cs index e0a5afae..97238b71 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordGatewayBotDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordGatewayBotDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels; [TestFixture] -public class DiscordGatewayBotDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGatewayBotDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordPermissionTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordPermissionTests.cs index 5924d642..4c9c07a6 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordPermissionTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordPermissionTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels; [TestFixture] -public class DiscordPermissionTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordPermissionTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordSessionStartLimitDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordSessionStartLimitDataTests.cs index c4eb3687..ea0f40e2 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordSessionStartLimitDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/DiscordSessionStartLimitDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels; [TestFixture] -public class DiscordSessionStartLimitDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordSessionStartLimitDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedAuthorDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedAuthorDataTests.cs index 0e5c42e7..eb912a7e 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedAuthorDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedAuthorDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedAuthorDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedAuthorDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedDataTests.cs index 43ee12b3..ae154ade 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFieldDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFieldDataTests.cs index 5b0717f8..b90878a9 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFieldDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFieldDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedFieldDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedFieldDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFooterDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFooterDataTests.cs index 51505863..423bc439 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFooterDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedFooterDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedFooterDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedFooterDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedImageDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedImageDataTests.cs index c85bfced..a7ed0398 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedImageDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedImageDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedImageDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedImageDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedProviderDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedProviderDataTests.cs index 4ca9aba3..dd52f942 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedProviderDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedProviderDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedProviderDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedProviderDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedThumbnailDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedThumbnailDataTests.cs index 0a153fb0..c3f0d333 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedThumbnailDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedThumbnailDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedThumbnailDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedThumbnailDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedVideoDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedVideoDataTests.cs index 9ed182e9..a1f099f0 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedVideoDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Embed/DiscordEmbedVideoDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Embed; [TestFixture] -public class DiscordEmbedVideoDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordEmbedVideoDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/DiscordJsonErrorDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/DiscordJsonErrorDataTests.cs index 8257501b..9a606b3f 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/DiscordJsonErrorDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/DiscordJsonErrorDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Errors; [TestFixture] -public class DiscordJsonErrorDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordJsonErrorDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/PropertyErrorInfoDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/PropertyErrorInfoDataTests.cs index ea54a4ff..f4f2c067 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/PropertyErrorInfoDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Errors/PropertyErrorInfoDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Errors; [TestFixture] -public class PropertyErrorInfoDataTests : JsonTestBase -{ -} \ No newline at end of file +public class PropertyErrorInfoDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDataTests.cs index d72d76b1..91e88fe0 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDefaultMessageNotificationLevelTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDefaultMessageNotificationLevelTests.cs index 0af086fe..3e922629 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDefaultMessageNotificationLevelTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildDefaultMessageNotificationLevelTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildDefaultMessageNotificationLevelTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildDefaultMessageNotificationLevelTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildExplicitContentFilterLevelTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildExplicitContentFilterLevelTests.cs index 47ac1e9e..c80672eb 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildExplicitContentFilterLevelTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildExplicitContentFilterLevelTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildExplicitContentFilterLevelTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildExplicitContentFilterLevelTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMemberDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMemberDataTests.cs index cab59084..fed734c9 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMemberDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMemberDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildMemberDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildMemberDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMfaLevelTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMfaLevelTests.cs index f8a72547..06b07986 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMfaLevelTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildMfaLevelTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildMfaLevelTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildMfaLevelTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildNsfwLevelTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildNsfwLevelTests.cs index e2ec4613..07d80e49 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildNsfwLevelTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildNsfwLevelTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildNsfwLevelTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildNsfwLevelTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPremiumTierTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPremiumTierTests.cs index 085c0a68..c7ee7667 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPremiumTierTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPremiumTierTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildPremiumTierTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildPremiumTierTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPreviewDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPreviewDataTests.cs index d264e97d..bb594087 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPreviewDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildPreviewDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildPreviewDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildPreviewDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildRoleDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildRoleDataTests.cs index f566b0e2..b439cfc5 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildRoleDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildRoleDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildRoleDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildRoleDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildVerificationLevelTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildVerificationLevelTests.cs index 774c7a7f..e0c934cf 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildVerificationLevelTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildVerificationLevelTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildVerificationLevelTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildVerificationLevelTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeChannelDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeChannelDataTests.cs index 9505e53c..f988d019 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeChannelDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeChannelDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildWelcomeChannelDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildWelcomeChannelDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeScreenDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeScreenDataTests.cs index a9747391..0227e29f 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeScreenDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordGuildWelcomeScreenDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordGuildWelcomeScreenDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordGuildWelcomeScreenDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordSystemChannelFlagsTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordSystemChannelFlagsTests.cs index 65cf3395..56fbe8e5 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordSystemChannelFlagsTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Guild/DiscordSystemChannelFlagsTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Guild; [TestFixture] -public class DiscordSystemChannelFlagsTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordSystemChannelFlagsTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandCallbackDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandCallbackDataTests.cs index 9deeb56a..c25d2084 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandCallbackDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandCallbackDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Interaction; [TestFixture] -public class DiscordInteractionCommandCallbackDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordInteractionCommandCallbackDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandDataTests.cs index 37c164c8..d658e128 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Interaction; [TestFixture] -public class DiscordInteractionCommandDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordInteractionCommandDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandOptionDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandOptionDataTests.cs index 1bc6d762..28936bcf 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandOptionDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandOptionDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Interaction; [TestFixture] -public class DiscordInteractionCommandOptionDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordInteractionCommandOptionDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandResolvedDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandResolvedDataTests.cs index f6ce4298..46df1f89 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandResolvedDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionCommandResolvedDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Interaction; [TestFixture] -public class DiscordInteractionCommandResolvedDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordInteractionCommandResolvedDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionDataTests.cs index 17fab9b1..385d8527 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Interaction; [TestFixture] -public class DiscordInteractionDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordInteractionDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionResponseDataTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionResponseDataTests.cs index e07f41f4..05a1e6fc 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionResponseDataTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/DataModels/Interaction/DiscordInteractionResponseDataTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.DataModels.Interaction; [TestFixture] -public class DiscordInteractionResponseDataTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordInteractionResponseDataTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/DiscordCreateApplicationCommandTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/DiscordCreateApplicationCommandTests.cs index 28ed06e0..b42a3f59 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/DiscordCreateApplicationCommandTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/DiscordCreateApplicationCommandTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params; [TestFixture] -public class DiscordCreateApplicationCommandTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordCreateApplicationCommandTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordAddGuildMemberTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordAddGuildMemberTests.cs index b87c3e87..84990afb 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordAddGuildMemberTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordAddGuildMemberTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params.Guild; [TestFixture] -public class DiscordAddGuildMemberTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordAddGuildMemberTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordCreateGuildRoleTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordCreateGuildRoleTests.cs index 572dca7b..897285bb 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordCreateGuildRoleTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordCreateGuildRoleTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params.Guild; [TestFixture] -public class DiscordCreateGuildRoleTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordCreateGuildRoleTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyCurrentUserNickTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyCurrentUserNickTests.cs index d9244ba9..d7f0da4c 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyCurrentUserNickTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyCurrentUserNickTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params.Guild; [TestFixture] -public class DiscordModifyCurrentUserNickTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordModifyCurrentUserNickTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildMemberTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildMemberTests.cs index 2d1c135f..8337ca24 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildMemberTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildMemberTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params.Guild; [TestFixture] -public class DiscordModifyGuildMemberTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordModifyGuildMemberTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRolePositionsTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRolePositionsTests.cs index e7c31e08..05be8f28 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRolePositionsTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRolePositionsTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params.Guild; [TestFixture] -public class DiscordModifyGuildRolePositionsTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordModifyGuildRolePositionsTests : JsonTestBase; \ No newline at end of file diff --git a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRoleTests.cs b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRoleTests.cs index e3980bab..bf0161a2 100644 --- a/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRoleTests.cs +++ b/tests/Color-Chan.Discord.Core.Tests/Common/API/Params/Guild/DiscordModifyGuildRoleTests.cs @@ -4,6 +4,4 @@ namespace Color_Chan.Discord.Core.Tests.Common.API.Params.Guild; [TestFixture] -public class DiscordModifyGuildRoleTests : JsonTestBase -{ -} \ No newline at end of file +public class DiscordModifyGuildRoleTests : JsonTestBase; \ No newline at end of file