Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottkicks committed Feb 22, 2023
1 parent 4481694 commit f28c4dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ private func backingDictionary() -> [String: Any] {
},
"risks": "As with any project of this nature, there are always some risks involved with manufacturing and shipping. That's why we're collaborating with the iam8bit team, they have many years of experience producing and delivering all manner of items to destinations all around the world. We do not expect any delays or hiccups with reward fulfillment. But if anything comes up, we will be clear and communicative about what is happening and how it might affect you.",
"canComment": false,
"sendMetaCapiEvents": false,
"commentsCount": 0,
"country": {
"__typename": "Country",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ final class Project_FetchProjectQueryDataTests: XCTestCase {
XCTAssertEqual(project.country.maxPledge, 8_500)
XCTAssertEqual(project.country.minPledge, 1)
XCTAssertEqual(project.country.trailingCode, true)

// Project Send Capi Events
XCTAssertEqual(project.sendMetaCapiEvents, false)

/// Project User
XCTAssertEqual(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ final class Project_ProjectFragmentTests: XCTestCase {
XCTAssertFalse(project.displayPrelaunch!)
XCTAssertNil(project.personalization.backing)
XCTAssertNil(project.rewardData.addOns)
XCTAssertEqual(project.sendMetaCapiEvents, false)

guard let extendedProjectProperties = project.extendedProjectProperties,
extendedProjectProperties.story.htmlViewElements.count > 3,
Expand Down Expand Up @@ -387,6 +388,7 @@ final class Project_ProjectFragmentTests: XCTestCase {
"totalCount":3
},
"prelaunchActivated":true,
"sendMetaCapiEvents": false,
"slug":"bandofbards/final-gamble-issue-1",
"state":"LIVE",
"stateChangedAt":1627999055,
Expand Down

0 comments on commit f28c4dc

Please sign in to comment.