mirror of https://github.com/halo-dev/halo
Upgrade JSONAssert to 2.0-rc1
parent
f18cf18862
commit
c73f0ddeee
|
@ -42,10 +42,10 @@ class ContentRequestTest {
|
|||
@Test
|
||||
void toSnapshot() throws JSONException {
|
||||
String expectedContentPath =
|
||||
"<p>Four score and seven</p>\n<p>years ago our fathers</p>\n<br/>\n<p>brought forth "
|
||||
+ "on this continent</p>\n";
|
||||
"<p>Four score and seven</p>\\n<p>years ago our fathers</p>\\n<br/>\\n<p>brought forth "
|
||||
+ "on this continent</p>\\n";
|
||||
String expectedRawPatch =
|
||||
"Four score and seven\nyears ago our fathers\n\nbrought forth on this continent\n";
|
||||
"Four score and seven\\nyears ago our fathers\\n\\nbrought forth on this continent\\n";
|
||||
Snapshot snapshot = contentRequest.toSnapshot();
|
||||
snapshot.getMetadata().setName("7b149646-ac60-4a5c-98ee-78b2dd0631b2");
|
||||
JSONAssert.assertEquals(JsonUtils.objectToJson(snapshot),
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
version=2.21.0-SNAPSHOT
|
||||
r2dbc-mysql.version=1.4.0
|
||||
jsonassert.version=2.0-rc1
|
||||
|
|
Loading…
Reference in New Issue