File tree Expand file tree Collapse file tree
testing-junit4/src/test/java/com/fnproject/fn/testing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,23 +250,6 @@ public void shouldHandleBodyAsInputStream() throws IOException {
250250 Assertions .assertThat (capturedBodies .get (0 )).isEqualTo ("FOO BAR" .getBytes ());
251251 }
252252
253- // @Test
254- // public void shouldPrintLogFrame() throws Exception {
255- // fn.setConfig("FN_LOGFRAME_NAME", "containerID");
256- // fn.setConfig("FN_LOGFRAME_HDR", "fnID");
257- // fn.givenEvent().withBody("Hello World").enqueue();
258-
259- // fn.thenRun(TestFn.class, "copyConfiguration");
260- // // fn.thenRun(TestFn.class, "echoInput");
261- // Assertions.assertThat(configuration).containsEntry("FN_LOGFRAME_NAME", "containerID");
262- // Assertions.assertThat(configuration).containsEntry("FN_LOGFRAME_HDR", "fnID");
263-
264- // FnResult result = fn.getResults().get(0);
265- // Assertions.assertThat(result.getBodyAsString()).isEqualTo("containerID=fnID\nHello World");
266- // // assertThat(fn.getOnlyOutputAsString()).isEqualTo("containerID=fnID\nHello World");
267- // }
268-
269-
270253 // TODO move this to HTTP gateway
271254// @Test
272255// public void shouldLeaveQueryParamtersOffIfNotSpecified() {
You can’t perform that action at this time.
0 commit comments