Skip to content

Commit 9c0ab70

Browse files
committed
Update test case
1 parent ef4118e commit 9c0ab70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent_api/src/test/java/api_discovery/DataSchemaGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public void testMaxProperties() {
219219
}
220220

221221
private Map<String, Object> generateTestObjectWithDepth(int depth) {
222-
if (depth == 0) {
222+
if (depth == 1) {
223223
return Collections.singletonMap("value", "testValue");
224224
}
225225
return Collections.singletonMap("prop", generateTestObjectWithDepth(depth - 1));

0 commit comments

Comments
 (0)