Skip to content

Commit bb03d87

Browse files
committed
fix attribute handling
1 parent c46aa0c commit bb03d87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Microsoft.NET.Build.Containers.IntegrationTests/CreateNewImageTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public void CreateNewImage_Baseline()
5353

5454
task.OutputRegistry = "localhost:5010";
5555
task.LocalRegistry = DockerAvailableFactAttribute.Attribute.LocalRegistry;
56+
task.LocalRegistry = DockerAvailableFactAttribute.LocalRegistry;
5657
task.PublishDirectory = Path.Combine(newProjectDir.FullName, "bin", "Release", ToolsetInfo.CurrentTargetFramework, "linux-arm64", "publish");
5758
task.Repository = "dotnet/create-new-image-baseline";
5859
task.ImageTags = new[] { "latest" };
@@ -199,6 +200,7 @@ public void Tasks_EndToEnd_With_EnvironmentVariable_Validation()
199200
cni.ContainerRuntimeIdentifier = "linux-x64";
200201
cni.RuntimeIdentifierGraphPath = ToolsetUtils.GetRuntimeGraphFilePath();
201202
cni.LocalRegistry = DockerAvailableFactAttribute.Attribute.LocalRegistry;
203+
cni.LocalRegistry = DockerAvailableFactAttribute.LocalRegistry;
202204

203205
Assert.True(cni.Execute(), FormatBuildMessages(errors));
204206

0 commit comments

Comments
 (0)