Skip to content

Commit 1603f7b

Browse files
committed
chore: naming
1 parent 42f8625 commit 1603f7b

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/TestsRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void run(Map<String, CodegenModel> models, Map<String, CodegenOperation>
9292
Map<String, Object> test = new HashMap<>();
9393
Request req = op[i];
9494
test.put("method", operationId);
95-
test.put("testName", req.testName == null ? operationId + i : req.testName);
95+
test.put("testName", req.testName == null ? operationId + i : withSnippets ? req.testName : req.testName + i);
9696
test.put("testIndex", i == 0 ? "" : i);
9797
test.put("isSnippet", req.isSnippet);
9898
if (ope.returnType != null && ope.returnType.length() > 0) {

0 commit comments

Comments
 (0)