diff --git a/tests/ElasticSearch/JsonDocument/data/event/indexed-with-contributors.json b/tests/ElasticSearch/JsonDocument/data/event/indexed-with-contributors.json index e58114cf..3c2f1782 100644 --- a/tests/ElasticSearch/JsonDocument/data/event/indexed-with-contributors.json +++ b/tests/ElasticSearch/JsonDocument/data/event/indexed-with-contributors.json @@ -66,7 +66,7 @@ }, "created": "2017-04-22T13:33:37+02:00", "creator": "Jane Doe", - "originalEncodedJsonLd": "{\"@id\":\"http:\/\/udb-silex.dev\/event\/23017cb7-e515-47b4-87c4-780735acc942\",\"mainLanguage\":\"nl\",\"languages\":[\"nl\"],\"completedLanguages\":[\"nl\"],\"name\":{\"nl\":\"Punkfest\"},\"calendarType\":\"single\",\"startDate\":\"2017-04-22T10:00:00+00:00\",\"endDate\":\"2017-04-22T18:00:00+00:00\",\"availableTo\":\"2017-04-22T18:00:00+00:00\",\"location\":{\"@id\":\"http:\/\/udb-silex.dev\/place\/179c89c5-dba4-417b-ae96-62e7a12c2405\",\"name\":{\"nl\":\"Hungaria\"},\"address\":{\"nl\":{\"addressCountry\":\"BE\",\"addressLocality\":\"Leuven\",\"postalCode\":\"3000\",\"streetAddress\":\"Vaartkom 35\"}}},\"workflowStatus\":\"DRAFT\",\"created\":\"2017-04-22T13:33:37+02:00\",\"creator\":\"Jane Doe\",\"contributors\":[\"amy@example.com\",\"john@example.com\"]}", + "originalEncodedJsonLd": "{\"@id\":\"http:\/\/udb-silex.dev\/event\/23017cb7-e515-47b4-87c4-780735acc942\",\"mainLanguage\":\"nl\",\"languages\":[\"nl\"],\"completedLanguages\":[\"nl\"],\"name\":{\"nl\":\"Punkfest\"},\"calendarType\":\"single\",\"startDate\":\"2017-04-22T10:00:00+00:00\",\"endDate\":\"2017-04-22T18:00:00+00:00\",\"availableTo\":\"2017-04-22T18:00:00+00:00\",\"location\":{\"@id\":\"http:\/\/udb-silex.dev\/place\/179c89c5-dba4-417b-ae96-62e7a12c2405\",\"name\":{\"nl\":\"Hungaria\"},\"address\":{\"nl\":{\"addressCountry\":\"BE\",\"addressLocality\":\"Leuven\",\"postalCode\":\"3000\",\"streetAddress\":\"Vaartkom 35\"}}},\"workflowStatus\":\"DRAFT\",\"created\":\"2017-04-22T13:33:37+02:00\",\"creator\":\"Jane Doe\"}", "isDuplicate": false, "productionCollapseValue": "single-offer-23017cb7-e515-47b4-87c4-780735acc942", "metadata": { diff --git a/tests/ElasticSearch/JsonDocument/data/organizer/indexed-with-contributors.json b/tests/ElasticSearch/JsonDocument/data/organizer/indexed-with-contributors.json index bd59e1ba..1826795f 100644 --- a/tests/ElasticSearch/JsonDocument/data/organizer/indexed-with-contributors.json +++ b/tests/ElasticSearch/JsonDocument/data/organizer/indexed-with-contributors.json @@ -9,7 +9,7 @@ "domain": "meetup.com", "languages": ["nl"], "completedLanguages": ["nl"], - "originalEncodedJsonLd": "{\"@id\":\"http:\/\/udb-silex.dev\/organizers\/5e0b3f9c-5947-46a0-b8f2-a1a5a37f3b83\",\"@context\":\"\/contexts\/organizer\",\"url\":\"https:\/\/www.meetup.com\/PHP-Leuven-Web-Innovation-Group\/events\/234638670\/\",\"name\":{\"nl\":\"PHPLeuven\"},\"created\":\"2017-02-08T14:06:55+00:00\",\"creator\":\"96fd6c13-eaab-4dd1-bb6a-1c483d5e40cc (bert2dotstwice)\",\"labels\":[\"UiTPAS\"],\"languages\":[\"nl\"],\"completedLanguages\":[\"nl\"],\"contributors\":[\"amy@example.com\",\"john@example.com\"]}", + "originalEncodedJsonLd": "{\"@id\":\"http:\/\/udb-silex.dev\/organizers\/5e0b3f9c-5947-46a0-b8f2-a1a5a37f3b83\",\"@context\":\"\/contexts\/organizer\",\"url\":\"https:\/\/www.meetup.com\/PHP-Leuven-Web-Innovation-Group\/events\/234638670\/\",\"name\":{\"nl\":\"PHPLeuven\"},\"created\":\"2017-02-08T14:06:55+00:00\",\"creator\":\"96fd6c13-eaab-4dd1-bb6a-1c483d5e40cc (bert2dotstwice)\",\"labels\":[\"UiTPAS\"],\"languages\":[\"nl\"],\"completedLanguages\":[\"nl\"]}", "creator": "96fd6c13-eaab-4dd1-bb6a-1c483d5e40cc (bert2dotstwice)", "imagesCount": 0, "labels": [ diff --git a/tests/ElasticSearch/JsonDocument/data/place/indexed-with-contributors.json b/tests/ElasticSearch/JsonDocument/data/place/indexed-with-contributors.json index 7f4c8a54..01ea39bf 100644 --- a/tests/ElasticSearch/JsonDocument/data/place/indexed-with-contributors.json +++ b/tests/ElasticSearch/JsonDocument/data/place/indexed-with-contributors.json @@ -56,7 +56,7 @@ }, "created": "2017-04-22T13:33:37+02:00", "creator": "Jane Doe", - "originalEncodedJsonLd": "{\"@type\":\"Place\",\"@id\":\"http:\/\/udb-silex.dev\/place\/179c89c5-dba4-417b-ae96-62e7a12c2405\",\"mainLanguage\":\"nl\",\"languages\":[\"nl\"],\"completedLanguages\":[\"nl\"],\"calendarType\":\"permanent\",\"availableTo\":\"2017-05-01T23:59:59+00:00\",\"name\":{\"nl\":\"Hungaria\"},\"address\":{\"nl\":{\"addressCountry\":\"BE\",\"addressLocality\":\"Leuven\",\"postalCode\":\"3000\",\"streetAddress\":\"Vaartkom 35\"}},\"workflowStatus\":\"DRAFT\",\"created\":\"2017-04-22T13:33:37+02:00\",\"creator\":\"Jane Doe\",\"contributors\":[\"amy@example.com\",\"john@example.com\"]}", + "originalEncodedJsonLd": "{\"@type\":\"Place\",\"@id\":\"http:\/\/udb-silex.dev\/place\/179c89c5-dba4-417b-ae96-62e7a12c2405\",\"mainLanguage\":\"nl\",\"languages\":[\"nl\"],\"completedLanguages\":[\"nl\"],\"calendarType\":\"permanent\",\"availableTo\":\"2017-05-01T23:59:59+00:00\",\"name\":{\"nl\":\"Hungaria\"},\"address\":{\"nl\":{\"addressCountry\":\"BE\",\"addressLocality\":\"Leuven\",\"postalCode\":\"3000\",\"streetAddress\":\"Vaartkom 35\"}},\"workflowStatus\":\"DRAFT\",\"created\":\"2017-04-22T13:33:37+02:00\",\"creator\":\"Jane Doe\"}", "isDuplicate": false, "productionCollapseValue": "single-offer-179c89c5-dba4-417b-ae96-62e7a12c2405", "metadata": { diff --git a/tests/JsonDocument/JsonDocumentFetcherTest.php b/tests/JsonDocument/JsonDocumentFetcherTest.php index 1ba0667b..0c2b767c 100644 --- a/tests/JsonDocument/JsonDocumentFetcherTest.php +++ b/tests/JsonDocument/JsonDocumentFetcherTest.php @@ -94,7 +94,6 @@ public function it_can_fetch_json_document_with_embed_contributors(): void ); $this->assertEquals($expectedJsonDocument, $actualJsonDocument); - $this->assertTrue(false); } /**