File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
endpoints-framework/src/test/java/com/google/api/server/spi Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,7 @@ public void proxy() throws IOException {
137137 servlet .service (req , resp );
138138
139139 assertThat (resp .getStatus ()).isEqualTo (HttpServletResponse .SC_OK );
140- assertThat (resp .getContentAsString ()).contains ("/_ah/api" );
141- assertThat (resp .getContentAsString ()).contains ("https://apis.google.com/js/googleapis.proxy.js" );
140+ assertThat (resp .getContentAsString ()).contains ("googleapis.server.init()" );
142141 }
143142
144143 @ Test
Original file line number Diff line number Diff line change @@ -51,6 +51,6 @@ private void testWithServletPath(String servletPath) throws Exception {
5151
5252 handler .handle (context );
5353
54- assertThat (response .getContentAsString ()).contains (servletPath );
54+ assertThat (response .getContentAsString ()).contains ("googleapis.server.init()" );
5555 }
5656}
You can’t perform that action at this time.
0 commit comments