Skip to content

Commit

Permalink
Fix broken tests locally before pushing to Github next time [facepalm…
Browse files Browse the repository at this point in the history
… emoji]
  • Loading branch information
MartinAkram committed Jan 19, 2024
1 parent aa5396c commit 2503aec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/RequestBuilderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
1 change: 0 additions & 1 deletion Tests/VideoTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ class VideoTests: ParselyTestCase {
section: testSectionSecond,
tags: nil,
duration: nil,
page_type: nil,
page_type: "post",
urls: nil,
post_id: nil,
Expand Down

0 comments on commit 2503aec

Please sign in to comment.