diff --git a/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs b/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs index e4332bd6..5d89feed 100644 --- a/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs +++ b/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs @@ -20,7 +20,7 @@ namespace Octokit.Tests.Integration } else { - return new [] { new IntegrationTestCase(testMethod) }; + return new [] { new XunitTestCase(testMethod) }; } } } @@ -30,17 +30,4 @@ namespace Octokit.Tests.Integration public class IntegrationTestAttribute : FactAttribute { } - - [Serializable] - public class IntegrationTestCase : XunitTestCase - { - [EditorBrowsable(EditorBrowsableState.Never)] - [Obsolete("Called by the de-serializer", true)] - public IntegrationTestCase() { } - - public IntegrationTestCase(ITestMethod testMethod) - : base(testMethod, testMethodArguments: null) - { - } - } } diff --git a/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs b/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs index fb26bbe7..e7184932 100644 --- a/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs +++ b/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs @@ -20,7 +20,7 @@ namespace Octokit.Tests.Integration } else { - return new [] { new OrganizationTestCase(testMethod) }; + return new [] { new XunitTestCase(testMethod) }; } } } @@ -29,13 +29,4 @@ namespace Octokit.Tests.Integration public class OrganizationTestAttribute : FactAttribute { } - - [Serializable] - public class OrganizationTestCase : XunitTestCase - { - public OrganizationTestCase(ITestMethod testMethod) - : base(testMethod, testMethodArguments: null) - { - } - } }