Skip to content

Commit 824cfc5

Browse files
committed
- fixes java generation test as the endpoint contains the version and the default options are not applied in this testing mode
1 parent 618d04c commit 824cfc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Typewriter.Test/MultipleNamespacesTestRunner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ string getMetadataFile(TestLanguage testLanguage)
7171
GenerationMode = GenerationMode.Files,
7272
Language = languageStr
7373
};
74+
if (language == TestLanguage.Java)
75+
options.EndpointVersion = "v1.0"; // fixes java generation test as the endpoint contains the version and the default options are not applied in this testing mode
7476

7577
if (isPhpBeta)
7678
{

0 commit comments

Comments
 (0)