Fix typo.

Fix typo.
This commit is contained in:
Maciej Walkowiak
2022-07-20 00:04:29 +02:00
committed by Oleg Zhurakousky
parent c5c1c2cd04
commit c08cf7ffcb
2 changed files with 3 additions and 3 deletions

View File

@@ -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());