8000 fix: remove unused method from testing (appengine jdk 21 sample) (#9584) · ludoch/java-docs-samples@dd24a49 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd24a49

Browse files
authored
fix: remove unused method from testing (appengine jdk 21 sample) (GoogleCloudPlatform#9584)
1 parent 7792ddb commit dd24a49

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

appengine-java21/helloworld/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ version. Change this field to specify a specific version name.
4949

5050
mvn package appengine:run
5151

52-
To use vist: http://localhost:8080/
52+
To use visit: http://localhost:8080/
5353

5454
### Deploying
5555

5656
mvn package appengine:deploy
5757

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

6060
### Testing
6161

< C232 h3 id="heading-:R1dlab:" class="DiffFileHeader-module__file-name--mY1O5">appengine-java21/helloworld/src/main/java/com/example/appengine/java21/HelloAppEngine.java
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ public void doGet(HttpServletRequest request, HttpServletResponse response)
3838
+ SystemProperty.version.get() + " Java "
3939
+ properties.get("java.specification.version"));
4040
}
41-
4241
}

appengine-java21/helloworld/src/test/java/com/example/appengine/java21/HelloAppEngineTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,4 @@ public void doGetWritesResponse() throws Exception {
7777
assertThat(responseWriter.toString())
7878
.contains("Hello App Engine - Standard ");
7979
}
80-
81-
@Test
82-
public void helloInfoTest() {
83-
String result = HelloAppEngine.getInfo();
84-
assertThat(result)
85-
.containsMatch("^Version:\\s+.+OS:\\s+.+User:\\s");
86-
}
8780
}

0 commit comments

Comments
 (0)
0