Skip to content

Commit 7cf3a0b

Browse files
committed
Fix build errors
1 parent 102bbb4 commit 7cf3a0b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ProjectTemplates/test/Templates.Tests/WebApiNativeAotTemplateTest.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ await WebApiNativeAotTemplateCore(
5252
[ConditionalTheory]
5353
[InlineData(false)]
5454
[InlineData(true)]
55-
public async Task WebApiNativeAotTemplateCSharp_OpenApiDisabledInProductionEnvironment()
55+
[SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/47478", Queues = HelixConstants.NativeAotNotSupportedHelixQueues)]
56+
public async Task WebApiNativeAotTemplateCSharp_OpenApiDisabledInProductionEnvironment(bool useProgramMain)
5657
{
5758
var args = useProgramMain
5859
? new[] { ArgConstants.UseProgramMain }
59-
: new[] { };
60+
: new string[] { };
6061

6162
await WebApiNativeAotTemplateCore(
6263
languageOverride: null,
@@ -77,7 +78,7 @@ public async Task WebApiNativeAotTemplateCSharp_WithoutOpenAPI(bool useProgramMa
7778
await WebApiNativeAotTemplateCore(
7879
languageOverride: null,
7980
args: args,
80-
additionalEndpointsThatShould404NotFoundForBuiltProjects: new[] { "/openapi/v1.json" };
81+
additionalEndpointsThatShould404NotFoundForBuiltProjects: new[] { "/openapi/v1.json" });
8182
}
8283

8384
private async Task WebApiNativeAotTemplateCore(

0 commit comments

Comments
 (0)