Skip to content

Commit

Permalink
Bug fix from PR apache#4247
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrr888 committed Feb 15, 2024
1 parent 8a30262 commit f0d2fbc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public void testSelectedFilesReordering() throws Exception {
*
* <pre>
* {
* "txid": "FATE:META:123456",
* "fateId": "FATE:META:123456",
* "selAll": true,
* "files": ["/path/to/file1.rf", "/path/to/file2.rf"]
* }
Expand All @@ -640,7 +640,7 @@ public void testSelectedFilesReordering() throws Exception {
public static String createSelectedFilesJson(FateId fateId, boolean selAll,
Collection<String> paths) {
String filesJsonArray = GSON.get().toJson(paths);
return ("{'txid':'" + fateId + "','selAll':" + selAll + ",'files':" + filesJsonArray + "}")
return ("{'fateId':'" + fateId + "','selAll':" + selAll + ",'files':" + filesJsonArray + "}")
.replace('\'', '\"');
}

Expand Down

0 comments on commit f0d2fbc

Please sign in to comment.