Skip to content

Commit 075a108

Browse files
committed
Add missing assemblies to TestHelper
1 parent 027c440 commit 075a108

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Cabazure.Client.Tests/TestHelper.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Text.Json;
1+
using System.Net;
2+
using System.Text.Json;
23
using Azure.Core;
34
using Cabazure.Client.SourceGenerator;
45
using Microsoft.CodeAnalysis;
@@ -101,6 +102,8 @@ private static CSharpCompilation CompileSources(params string[] sources)
101102
.Append(typeof(IServiceCollection).Assembly)
102103
.Append(typeof(IHttpClientBuilder).Assembly)
103104
.Append(typeof(HttpMethod).Assembly)
105+
.Append(typeof(HttpStatusCode).Assembly)
106+
.Append(typeof(IServiceProvider).Assembly)
104107
.Append(typeof(StringValues).Assembly)
105108
.Append(typeof(OptionsServiceCollectionExtensions).Assembly)
106109
.Append(typeof(TokenCredential).Assembly)

0 commit comments

Comments
 (0)