From 1415dc3bef387b77065d09976a1377b6f803968e Mon Sep 17 00:00:00 2001 From: Ryan Gribble Date: Tue, 16 Aug 2016 22:44:17 +1000 Subject: [PATCH] Rework request object to be the correct structure so SimpleJsonSerializer can be used to serialize it. Remove MaintenanceDate class and just pass in the Date/string for when Still need to use UrlFormEncoding rather than json in the POST body though... --- .../Enterprise/EnterpriseManagementConsoleClientTests.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Octokit.Tests/Clients/Enterprise/EnterpriseManagementConsoleClientTests.cs b/Octokit.Tests/Clients/Enterprise/EnterpriseManagementConsoleClientTests.cs index db0f150b..6ba091b8 100644 --- a/Octokit.Tests/Clients/Enterprise/EnterpriseManagementConsoleClientTests.cs +++ b/Octokit.Tests/Clients/Enterprise/EnterpriseManagementConsoleClientTests.cs @@ -9,8 +9,6 @@ namespace Octokit.Tests.Clients { public class TheGetMaintenanceModeMethod { - readonly string _distinguishedNameUser = "uid=test-user,ou=users,dc=company,dc=com"; - [Fact] public void RequestsCorrectUrl() {