This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-integration-tests.git
The following commit(s) were added to refs/heads/master by this push:
new 4b474e3 chore: fix JsonTest name and assertion message
4b474e3 is described below
commit 4b474e35dc69a0807a97fc7c26f235127a71836a
Author: Robert Munteanu <[email protected]>
AuthorDate: Thu Nov 21 17:38:42 2024 +0100
chore: fix JsonTest name and assertion message
---
.../sling/launchpad/webapp/integrationtest/jakarta/JsonTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/jakarta/JsonTest.java
b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/jakarta/JsonTest.java
index 3b5bee5..40694ac 100644
---
a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/jakarta/JsonTest.java
+++
b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/jakarta/JsonTest.java
@@ -30,10 +30,10 @@ import
org.apache.sling.commons.testing.integration.HttpTestBase;
*/
public class JsonTest extends HttpTestBase {
- public void testDomExecutionIsSuccessful() throws IOException {
+ public void testJsonRenderingIsSuccessful() throws IOException {
String content = getContent(HTTP_BASE_URL + "/bin/jakarta.json",
CONTENT_TYPE_JSON);
- assertThat("JSON outtput", content, startsWith("{\"greeting"));
+ assertThat("JSON output", content, startsWith("{\"greeting"));
}
}
\ No newline at end of file