Skip to content

Commit 6db69c4

Browse files
committed
Merge branch '1.3.x'
2 parents dd98b50 + 2ef7fa2 commit 6db69c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-graphql-docs/antora-playbook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ urls:
3131
redirect_facility: httpd
3232
ui:
3333
bundle:
34-
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.17/ui-bundle.zip
34+
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
3535
runtime:
3636
log:
3737
failure_level: warn

spring-graphql-test/src/main/java/org/springframework/graphql/test/tester/DefaultGraphQlTester.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@
3131
import com.jayway.jsonpath.DocumentContext;
3232
import com.jayway.jsonpath.JsonPath;
3333
import com.jayway.jsonpath.TypeRef;
34+
import org.skyscreamer.jsonassert.JSONAssert;
3435

3536
import org.springframework.core.ParameterizedTypeReference;
3637
import org.springframework.core.ResolvableType;
@@ -42,7 +43,6 @@
4243
import org.springframework.graphql.support.DocumentSource;
4344
import org.springframework.lang.Nullable;
4445
import org.springframework.test.util.AssertionErrors;
45-
import org.springframework.test.util.JsonExpectationsHelper;
4646
import org.springframework.test.util.JsonPathExpectationsHelper;
4747
import org.springframework.util.Assert;
4848
import org.springframework.util.CollectionUtils;
@@ -469,7 +469,7 @@ private void matchesJson(String expected, boolean strict) {
469469
this.delegate.doAssert(() -> {
470470
String actual = this.delegate.jsonContent(this.jsonPath);
471471
try {
472-
new JsonExpectationsHelper().assertJsonEqual(expected, actual, strict);
472+
JSONAssert.assertEquals(expected, actual, strict);
473473
}
474474
catch (AssertionError ex) {
475475
throw new AssertionError(ex.getMessage() + "\n\n" + "Expected JSON content:\n'" + expected + "'\n\n"

0 commit comments

Comments
 (0)