Skip to content

Commit 6ba3c0e

Browse files
committed
Revert "feat: Normal report push"
This reverts commit 58206b6.
1 parent 58206b6 commit 6ba3c0e

19 files changed

+746
-49780
lines changed

Contentstack.Management.Core.Tests/Contentstack.Management.Core.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
</ItemGroup>
2929

3030
<ItemGroup>
31-
<Folder Include="Helpers\" />
3231
<Folder Include="IntegrationTest\" />
3332
<Folder Include="Model\" />
3433
<Folder Include="Mock\" />

Contentstack.Management.Core.Tests/Contentstack.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
55
using System.Net;
6-
using System.Net.Http;
76
using System.Reflection;
8-
using Contentstack.Management.Core.Tests.Helpers;
97
using Contentstack.Management.Core.Tests.Model;
108
using Microsoft.Extensions.Configuration;
119
using Microsoft.Extensions.Options;
@@ -21,9 +19,7 @@ private static readonly Lazy<ContentstackClient>
2119
new Lazy<ContentstackClient>(() =>
2220
{
2321
ContentstackClientOptions options = Config.GetSection("Contentstack").Get<ContentstackClientOptions>();
24-
var handler = new LoggingHttpHandler();
25-
var httpClient = new HttpClient(handler);
26-
return new ContentstackClient(httpClient, options);
22+
return new ContentstackClient(new OptionsWrapper<ContentstackClientOptions>(options));
2723
});
2824

2925

Contentstack.Management.Core.Tests/Helpers/AssertLogger.cs

Lines changed: 0 additions & 114 deletions
This file was deleted.

Contentstack.Management.Core.Tests/Helpers/LoggingHttpHandler.cs

Lines changed: 0 additions & 110 deletions
This file was deleted.

Contentstack.Management.Core.Tests/Helpers/TestOutputLogger.cs

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)