File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sdk-tests/src/test/java/io/dapr/it/binding/http Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,10 @@ public void httpOutputBindingErrorIgnoredByComponent() throws Exception {
7575 assertEquals (404 , e .getHttpStatusCode ());
7676 // The HTTP binding must set `errorIfNot2XX` to false in component metadata for the error payload to be
7777 // consistent between HTTP and gRPC.
78- assertTrue (new String (e .getPayload ()).contains ("\" message\" :\" Not Found\" " ));
79- assertTrue (new String (e .getPayload ()).contains ("\" documentation_url\" :\" https://docs.github.com/rest\" " ));
78+ assertTrue (new String (e .getPayload ()).contains ("message" ));
79+ assertTrue (new String (e .getPayload ()).contains ("Not Found" ));
80+ assertTrue (new String (e .getPayload ()).contains ("documentation_url" ));
81+ assertTrue (new String (e .getPayload ()).contains ("https://docs.github.com/rest" ));
8082 }
8183 }, 10000 );
8284 }
You can’t perform that action at this time.
0 commit comments