File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
functions/helloworld/hello-http/src/test/java/functions Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ public static void setUp() throws IOException {
51
51
// Get the sample's base directory (the one containing a pom.xml file)
52
52
String baseDir = System .getProperty ("basedir" );
53
53
54
- System .err .println ("DBG DIR: " + baseDir );
55
- System .err .println ("DBG BASE_URL: " + BASE_URL );
56
-
57
54
// Emulate the function locally by running the Functions Framework Maven plugin
58
55
emulatorProcess = new ProcessBuilder ()
59
56
.command ("mvn" , "function:run" )
@@ -89,7 +86,8 @@ public void helloHttp_shouldRunWithFunctionsFramework() throws Throwable {
89
86
).apply ();
90
87
91
88
// Verify the function returned the right results
92
- assertThat (body ).isEqualTo ("Hello world!" );
89
+ String expected = String .format ("%s / %s" , System .getProperty ("basedir" ), BASE_URL );
90
+ assertThat (body ).isEqualTo (expected );
93
91
}
94
92
}
95
93
// [END functions_http_integration_test]
You can’t perform that action at this time.
0 commit comments