From 2503aec70b8d418ae4561d235948a8799d643ceb Mon Sep 17 00:00:00 2001 From: martinakram Date: Fri, 19 Jan 2024 13:13:59 -0500 Subject: [PATCH] Fix broken tests locally before pushing to Github next time [facepalm emoji] --- Tests/RequestBuilderTests.swift | 4 ++-- Tests/VideoTests.swift | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Tests/RequestBuilderTests.swift b/Tests/RequestBuilderTests.swift index 3cdd507..77d2fc7 100644 --- a/Tests/RequestBuilderTests.swift +++ b/Tests/RequestBuilderTests.swift @@ -16,7 +16,7 @@ class RequestBuilderTests: XCTestCase { tags: ["tag1", "tag2"], duration: TimeInterval(100), page_type: "post", - urls: ["http://parsely-test.com/1", "http://parsely-test.com/2"], + urls: "http://parsely-test.com/1", post_id: "1", pub_date_tmsp: Date(timeIntervalSince1970: 5), custom_metadata: "custom", @@ -33,7 +33,7 @@ class RequestBuilderTests: XCTestCase { full_content_sha512: "full content sha512", network_id_str: "network id", network_canonical: "http://parsely-test.com/network_canonical", - content_enrichments: {"enrichment1": "value1", "enrichment2": "value2"} + content_enrichments: ["enrichment1": "value1", "enrichment2": "value2"] ) return [Event( "pageview", diff --git a/Tests/VideoTests.swift b/Tests/VideoTests.swift index 64631af..fd03bea 100644 --- a/Tests/VideoTests.swift +++ b/Tests/VideoTests.swift @@ -126,7 +126,6 @@ class VideoTests: ParselyTestCase { section: testSectionSecond, tags: nil, duration: nil, - page_type: nil, page_type: "post", urls: nil, post_id: nil,