Skip to content

Commit ca02d67

Browse files
committed
fix: JS CTS
1 parent af4bf96 commit ca02d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/src/main/java/com/algolia/codegen/cts/tests/TestsGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected <T> Map<String, T> loadCTS(String path, String clientName, Class<T> js
5656
json = injectVariables(json);
5757
String key = f.getName().replace(".json", "");
5858
// some clients don't have custom methods
59-
if (clientName.equals("composition") && key.equals("commonApi")) {
59+
if (clientName.equals("composition") && (key.equals("commonApi") || key.equals("setClientApiKey"))) {
6060
continue skipFile;
6161
}
6262
cts.put(key, Json.mapper().readValue(json, jsonType));

0 commit comments

Comments
 (0)