Fix typo.
Fix typo.
This commit is contained in:
committed by
Oleg Zhurakousky
parent
c5c1c2cd04
commit
c08cf7ffcb
@@ -800,7 +800,7 @@ public class FunctionInvokerTests {
|
||||
@Test
|
||||
public void testApiGatewayPojoReturninPojo() throws Exception {
|
||||
System.setProperty("MAIN_CLASS", ApiGatewayConfiguration.class.getName());
|
||||
System.setProperty("spring.cloud.function.definition", "uppercasePojoReurnPojo");
|
||||
System.setProperty("spring.cloud.function.definition", "uppercasePojoReturnPojo");
|
||||
FunctionInvoker invoker = new FunctionInvoker();
|
||||
|
||||
InputStream targetStream = new ByteArrayInputStream(this.apiGatewayEventWithStructuredBody.getBytes());
|
||||
@@ -1305,7 +1305,7 @@ public class FunctionInvokerTests {
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Function<Person, Person> uppercasePojoReurnPojo() {
|
||||
public Function<Person, Person> uppercasePojoReturnPojo() {
|
||||
return v -> {
|
||||
Person p = new Person();
|
||||
p.setName(v.getName().toUpperCase());
|
||||
|
||||
Reference in New Issue
Block a user