From 8a18bb971254a2edc941fcb80ac04e22c94a018a Mon Sep 17 00:00:00 2001 From: Marcus Bowyer Date: Sun, 17 Mar 2024 13:07:12 -0700 Subject: [PATCH] fixed unit test --- test/Test.Analyzers/Test_Crds.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Test.Analyzers/Test_Crds.cs b/test/Test.Analyzers/Test_Crds.cs index c9f2fa8..0d09a2e 100644 --- a/test/Test.Analyzers/Test_Crds.cs +++ b/test/Test.Analyzers/Test_Crds.cs @@ -161,7 +161,7 @@ public class V1Example var testCompilation = new TestCompilationBuilder() .AddSourceGenerator() .AddSource(source) - .AddAssembly($@"C:\src\operator-sdk\test\Test.Analyzers\bin\Debug\net8.0\KubernetesClient.Models.dll") + .AddAssembly(typeof(V1Condition).Assembly) .AddOption("build_property.NeonOperatorGenerateCrds", true) .AddOption("build_property.NeonOperatorCrdOutputDir", tempFile.Path) .Build();