From 3c5bb10eb285a74dd718a74ed7ab9f79eccadffa Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Tue, 13 Aug 2024 12:46:52 +0200 Subject: [PATCH] STY: Beautify unrelated test jsons --- .../examples_json/invalidjson.json | 22 +++++++------- .../examples_json/testjson.json | 29 +++++++++---------- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/unittests/test_directories/examples_json/invalidjson.json b/unittests/test_directories/examples_json/invalidjson.json index 9c012bf0..49a00fc6 100644 --- a/unittests/test_directories/examples_json/invalidjson.json +++ b/unittests/test_directories/examples_json/invalidjson.json @@ -1,13 +1,13 @@ { - "projectId": 10002, - "archived": false, - "coordinator": { - "firstname": "Miri", - "lastname": "Mueller", - "email": "miri.mueller@science.de" - }, - "start_date": "2022-03-01", - "candidates": ["Mouse", "Penguine"], - "rvalue": 0.4444, - "url": "https://site.de/index.php/" + "projectId": 10002, + "archived": false, + "coordinator": { + "firstname": "Miri", + "lastname": "Mueller", + "email": "miri.mueller@science.de" + }, + "start_date": "2022-03-01", + "candidates": ["Mouse", "Penguine"], + "rvalue": 0.4444, + "url": "https://site.de/index.php/" } diff --git a/unittests/test_directories/examples_json/testjson.json b/unittests/test_directories/examples_json/testjson.json index d37ea2de..29d59780 100644 --- a/unittests/test_directories/examples_json/testjson.json +++ b/unittests/test_directories/examples_json/testjson.json @@ -1,22 +1,21 @@ { - "name": "DEMO", - "projectId": 10002, - "archived": false, - "Person": [ - { - "firstname": "Miri", - "lastname": "Mueller", - "other": null, - "email": "miri.mueller@science.de" - }, + "name": "DEMO", + "projectId": 10002, + "archived": false, + "Person": [{ + "firstname": "Miri", + "lastname": "Mueller", + "other": null, + "email": "miri.mueller@science.de" + }, { "firstname": "Mara", "lastname": "Mueller", - "email": "mara.mueller@science.de" + "email": "mara.mueller@science.de" } ], - "start_date": "2022-03-01", - "candidates": ["Mouse", "Penguine"], - "rvalue": 0.4444, - "url": "https://site.de/index.php/" + "start_date": "2022-03-01", + "candidates": ["Mouse", "Penguine"], + "rvalue": 0.4444, + "url": "https://site.de/index.php/" } -- GitLab