[tracker-miners/sam/test-runner-fix: 16/31] functional-tests: Fix two failing extraction test cases
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/test-runner-fix: 16/31] functional-tests: Fix two failing extraction test cases
- Date: Mon, 14 Jan 2019 12:33:57 +0000 (UTC)
commit a065533a23660be9ee88cb7f42c55118e1e70d5e
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Nov 17 12:24:57 2018 +0100
functional-tests: Fix two failing extraction test cases
.../test-extraction-data/images/test-image-1.expected.json | 5 ++---
.../test-extraction-data/images/test-image-4.expected.json | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/tests/functional-tests/test-extraction-data/images/test-image-1.expected.json
b/tests/functional-tests/test-extraction-data/images/test-image-1.expected.json
index 3d1fdb6e7..4b5043d5f 100644
--- a/tests/functional-tests/test-extraction-data/images/test-image-1.expected.json
+++ b/tests/functional-tests/test-extraction-data/images/test-image-1.expected.json
@@ -15,14 +15,13 @@
"nmm:fnumber": "5.0",
"nmm:focalLength": "5.0",
"nie:comment": "This is a for tracker test",
- "slo:location": [
+ "slo:location":
{
"slo:postalAddress": {
"nco:locality": "Tig",
"nco:country": "Banglore"
}
- }
- ],
+ },
"nfo:horizontalResolution": "20.0",
"nfo:verticalResolution": "20.0"
}
diff --git a/tests/functional-tests/test-extraction-data/images/test-image-4.expected.json
b/tests/functional-tests/test-extraction-data/images/test-image-4.expected.json
index 43fecff6c..0d4051fde 100644
--- a/tests/functional-tests/test-extraction-data/images/test-image-4.expected.json
+++ b/tests/functional-tests/test-extraction-data/images/test-image-4.expected.json
@@ -6,13 +6,12 @@
},
"metadata": {
"@type": "nmm:Photo",
- "nfo:equipment": [
+ "nfo:equipment":
{
"nfo:manufacturer": "Canon",
"nfo:model": "Canon EOS 70D",
"@type": "nfo:Equipment"
- }
- ],
+ },
"nfo:width": "5472",
"nfo:height": "3648",
"nfo:orientation": "nfo:orientation-left",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]