From ab83dcf743c9909ec32f70b7012bf2129a4e2385 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Sun, 16 Oct 2022 23:22:11 -0500 Subject: [PATCH] [SB3 Update] Adjust jsonpath on TwitterUsersFunctionTests --- .../cloud/fn/twitter/users/TwitterUsersFunctionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/twitter-function/src/test/java/org/springframework/cloud/fn/twitter/users/TwitterUsersFunctionTests.java b/function/twitter-function/src/test/java/org/springframework/cloud/fn/twitter/users/TwitterUsersFunctionTests.java index f8550a1e..626b92c1 100644 --- a/function/twitter-function/src/test/java/org/springframework/cloud/fn/twitter/users/TwitterUsersFunctionTests.java +++ b/function/twitter-function/src/test/java/org/springframework/cloud/fn/twitter/users/TwitterUsersFunctionTests.java @@ -165,7 +165,7 @@ public abstract class TwitterUsersFunctionTests { @TestPropertySource(properties = { "twitter.users.type=lookup", - "twitter.users.lookup.screenName=#jsonPath(payload,'$..[*].code')" + "twitter.users.lookup.screenName=#jsonPath(payload,'$[*].code')" }) public static class TwitterLookupScreenNamePayloadTests extends TwitterUsersFunctionTests {