[tracker-miners/sam/test-runner-fix: 11/24] functional-tests: Fix two failing extraction test cases



commit 3e31848e387286eaf00144b9a6f9e8d4b8189ac3
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]