Skip to content

Commit

Permalink
fix: remove unused method from testing (appengine jdk 21 sample) (Goo…
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 authored Oct 15, 2024
1 parent 7792ddb commit dd24a49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions appengine-java21/helloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ version. Change this field to specify a specific version name.

mvn package appengine:run

To use vist: http://localhost:8080/
To use visit: http://localhost:8080/

### Deploying

mvn package appengine:deploy

To use vist: https://YOUR-PROJECT-ID.appspot.com
To use visit: https://YOUR-PROJECT-ID.appspot.com

### Testing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ public void doGet(HttpServletRequest request, HttpServletResponse response)
+ SystemProperty.version.get() + " Java "
+ properties.get("java.specification.version"));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,4 @@ public void doGetWritesResponse() throws Exception {
assertThat(responseWriter.toString())
.contains("Hello App Engine - Standard ");
}

@Test
public void helloInfoTest() {
String result = HelloAppEngine.getInfo();
assertThat(result)
.containsMatch("^Version:\\s+.+OS:\\s+.+User:\\s");
}
}

0 comments on commit dd24a49

Please sign in to comment.