Skip to content

Commit d9a5640

Browse files
committed
Fix json serialization in tests
1 parent 8e758db commit d9a5640

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spring-ai-core/src/test/java/org/springframework/ai/converter/BeanOutputConverterTest.java

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ String getSomeString() {
6969
return this.someString;
7070
}
7171

72+
public void setSomeString(String someString) {
73+
this.someString = someString;
74+
}
75+
7276
}
7377

7478
static class TestClassWithDateProperty {
@@ -87,6 +91,10 @@ LocalDate getSomeString() {
8791
return this.someString;
8892
}
8993

94+
public void setSomeString(LocalDate someString) {
95+
this.someString = someString;
96+
}
97+
9098
}
9199

92100
static class TestClassWithJsonAnnotations {

0 commit comments

Comments
 (0)