From 40a9ba34fdd4777b0f2ac71cd9e5d9518be7a121 Mon Sep 17 00:00:00 2001 From: Hans-Chrstian Date: Thu, 12 Sep 2024 21:34:24 +0200 Subject: [PATCH] fix Unit test --- examples/ckan/dataset.json | 16 +++++++++++----- examples/ckan/full_ckan_dataset.json | 4 ++-- examples/ckan/temp | 0 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 examples/ckan/temp diff --git a/examples/ckan/dataset.json b/examples/ckan/dataset.json index c1d887d1..a9a34c67 100644 --- a/examples/ckan/dataset.json +++ b/examples/ckan/dataset.json @@ -11,9 +11,15 @@ "name": "Geological Society", "mbox": "info@gs.org" }, - "distribution": [{"accessURL": "http://www.bgs.ac.uk/gbase/geochemcd/home.html", - "byteSize": null, - "description": "Resource locator", - "format": "text/html", - "title": ""}] + "creator": { + "name": "John Doe", + "mbox": "johndoe@example.com" + }, + "distribution": [{ + "accessURL": "http://www.bgs.ac.uk/gbase/geochemcd/home.html", + "byteSize": null, + "description": "Resource locator", + "format": "text/html", + "title": "" + }] } diff --git a/examples/ckan/full_ckan_dataset.json b/examples/ckan/full_ckan_dataset.json index 24a17bcc..e62927c7 100644 --- a/examples/ckan/full_ckan_dataset.json +++ b/examples/ckan/full_ckan_dataset.json @@ -1,6 +1,6 @@ { - "author": null, - "author_email": null, + "author": "John Doe", + "author_email": "johndoe@example.com", "extras": [ { "__extras": { diff --git a/examples/ckan/temp b/examples/ckan/temp new file mode 100644 index 00000000..e69de29b