From a00dc581f84b828ba85cdad5d3c0547764a6c14e Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 1 Dec 2023 15:07:07 -0500 Subject: [PATCH] - fixes unit tests for with url hoist --- .../Writers/TypeScript/CodeMethodWriterTests.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeMethodWriterTests.cs b/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeMethodWriterTests.cs index 84465976ba..3787522dae 100644 --- a/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeMethodWriterTests.cs +++ b/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeMethodWriterTests.cs @@ -667,10 +667,6 @@ public void WritesWithUrl() }, }); Assert.Throws(() => writer.Write(method)); - AddRequestProperties(); - writer.Write(method); - var result = tw.ToString(); - Assert.Contains($"return new {parentClass.Name.ToFirstCharacterUpperCase()}", result); } [Fact] public void WritesConstructorWithEnumValue()