Skip to content

Commit

Permalink
[MBL-1376] Make users in tests look fake (#2064)
Browse files Browse the repository at this point in the history
* Update emails in test files

* Rerecord changeEmail tests

* Update remaining snapshots

* Update GraphUserEnvelopeTemplates

* Delete userEmailFields since they're not actually used anywhere

* Update UserFragmentTemplate

* Update CommentFragmentTemplate

* Update comment templates

* Update project templates
  • Loading branch information
ifosli authored May 22, 2024
1 parent fa2bd79 commit 86d3bf3
Show file tree
Hide file tree
Showing 149 changed files with 202 additions and 5,216 deletions.
4 changes: 2 additions & 2 deletions Kickstarter-iOS/AppDelegateViewModelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2461,7 +2461,7 @@ final class AppDelegateViewModelTests: TestCase {
.Data(
unsafeResultMap: [
"me": [
"email": "nativesquad@ksr.com"
"email": "user@example.com"
]
]
)
Expand All @@ -2480,7 +2480,7 @@ final class AppDelegateViewModelTests: TestCase {

self.vm.inputs.userSessionStarted()

XCTAssertEqual(AppEnvironment.current.currentUserEmail, "nativesquad@ksr.com")
XCTAssertEqual(AppEnvironment.current.currentUserEmail, "user@example.com")

AppEnvironment.logout()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class ChangeEmailViewControllerTests: TestCase {
let userEnvelope = UserEnvelope(me: userTemplate)
let service = MockService(fetchGraphUserResult: .success(userEnvelope))

combos(Language.allLanguages, Device.allCases).forEach { language, device in
orthogonalCombos(Language.allLanguages, Device.allCases).forEach { language, device in
withEnvironment(apiService: service, currentUser: User.template, language: language) {
let controller = ChangeEmailViewController.instantiate()
let (parent, _) = traitControllers(device: device, orientation: .portrait, child: controller)
Expand All @@ -39,7 +39,7 @@ final class ChangeEmailViewControllerTests: TestCase {
let userTemplate = GraphUser.template |> \.isEmailVerified .~ false
let userEnvelope = UserEnvelope(me: userTemplate)
let service = MockService(fetchGraphUserResult: .success(userEnvelope))
combos(Language.allLanguages, Device.allCases).forEach { language, device in
orthogonalCombos(Language.allLanguages, Device.allCases).forEach { language, device in
withEnvironment(apiService: service, currentUser: User.template, language: language) {
let controller = ChangeEmailViewController.instantiate()
let (parent, _) = traitControllers(device: device, orientation: .portrait, child: controller)
Expand All @@ -58,7 +58,7 @@ final class ChangeEmailViewControllerTests: TestCase {
let userEnvelope = UserEnvelope(me: userTemplate)
let service = MockService(fetchGraphUserResult: .success(userEnvelope))

combos(Language.allLanguages, Device.allCases).forEach { language, device in
orthogonalCombos(Language.allLanguages, Device.allCases).forEach { language, device in
withEnvironment(
apiService: service,
currentUser: creator,
Expand All @@ -80,7 +80,7 @@ final class ChangeEmailViewControllerTests: TestCase {
|> \.isDeliverable .~ false
let userEnvelope = UserEnvelope(me: userTemplate)
let service = MockService(fetchGraphUserResult: .success(userEnvelope))
combos(Language.allLanguages, Device.allCases).forEach { language, device in
orthogonalCombos(Language.allLanguages, Device.allCases).forEach { language, device in
withEnvironment(apiService: service, currentUser: User.template, language: language) {
let controller = ChangeEmailViewController.instantiate()
let (parent, _) = traitControllers(device: device, orientation: .portrait, child: controller)
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal final class FacebookConfirmationViewControllerTests: TestCase {
orthogonalCombos(Language.allLanguages, devices).forEach { language, device in
withEnvironment(language: language) {
let controller = FacebookConfirmationViewController
.configuredWith(facebookUserEmail: "hello@kickstarter.com", facebookAccessToken: "")
.configuredWith(facebookUserEmail: "hello@example.com", facebookAccessToken: "")
let (parent, _) = traitControllers(device: device, orientation: .portrait, child: controller)

self.scheduler.run()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ internal final class ResetPasswordViewControllerTests: TestCase {
orthogonalCombos(Language.allLanguages, [Device.pad, Device.phone4_7inch, Device.phone5_8inch]).forEach {
language, device in
withEnvironment(language: language) {
let controller = ResetPasswordViewController.configuredWith(email: "americasnexttopmodulus@gmail.com")
let controller = ResetPasswordViewController
.configuredWith(email: "americasnexttopmodulus@example.com")
let (parent, _) = traitControllers(device: device, orientation: .portrait, child: controller)

self.scheduler.run()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
self.scheduler.advance()

self.reloadDataCurrency.assertValues([.USD])
self.reloadDataEmail.assertValues(["nativesquad@ksr.com"])
self.reloadDataEmail.assertValues(["user@example.com"])
self.reloadDataIsAppleConnectedAccount.assertValues([false])
self.reloadDataShouldHideEmailPasswordSection.assertValues([false])
self.reloadDataShouldHideWarningIcon.assertValues([true])
Expand Down Expand Up @@ -101,7 +101,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
self.scheduler.advance()

self.reloadDataCurrency.assertValues([.USD])
self.reloadDataEmail.assertValues(["nativesquad@ksr.com"])
self.reloadDataEmail.assertValues(["user@example.com"])
self.reloadDataIsAppleConnectedAccount.assertValues([false])
self.reloadDataShouldHideEmailPasswordSection
.assertValues([true], "Change email & password options are hidden.")
Expand All @@ -112,7 +112,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
let shouldShowCreatePasswordFooter = self.vm.outputs.shouldShowCreatePasswordFooter()

XCTAssertEqual(true, shouldShowCreatePasswordFooter?.0)
XCTAssertEqual("nativesquad@ksr.com", shouldShowCreatePasswordFooter?.1)
XCTAssertEqual("user@example.com", shouldShowCreatePasswordFooter?.1)
}
}

Expand All @@ -129,7 +129,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
self.scheduler.advance()

self.reloadDataCurrency.assertValues([.USD])
self.reloadDataEmail.assertValues(["nativesquad@ksr.com"])
self.reloadDataEmail.assertValues(["user@example.com"])
self.reloadDataIsAppleConnectedAccount.assertValues([false])
self.reloadDataShouldHideEmailPasswordSection
.assertValues([false], "Change email & password options are shown if user has set a password")
Expand All @@ -140,7 +140,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
let shouldShowCreatePasswordFooter = self.vm.outputs.shouldShowCreatePasswordFooter()

XCTAssertEqual(false, shouldShowCreatePasswordFooter?.0)
XCTAssertEqual("nativesquad@ksr.com", shouldShowCreatePasswordFooter?.1)
XCTAssertEqual("user@example.com", shouldShowCreatePasswordFooter?.1)
}
}

Expand All @@ -159,7 +159,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
self.scheduler.advance()

self.reloadDataCurrency.assertValues([.USD])
self.reloadDataEmail.assertValues(["nativesquad@ksr.com"])
self.reloadDataEmail.assertValues(["user@example.com"])
self.reloadDataIsAppleConnectedAccount.assertValues([false])
self.reloadDataShouldHideEmailPasswordSection.assertValues([false])
self.reloadDataShouldHideWarningIcon
Expand All @@ -184,7 +184,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
self.scheduler.advance()

self.reloadDataCurrency.assertValues([.USD])
self.reloadDataEmail.assertValues(["nativesquad@ksr.com"])
self.reloadDataEmail.assertValues(["user@example.com"])
self.reloadDataIsAppleConnectedAccount.assertValues([false])
self.reloadDataShouldHideEmailPasswordSection.assertValues([false])
self.reloadDataShouldHideWarningIcon
Expand All @@ -207,7 +207,7 @@ internal final class SettingsAccountViewModelTests: TestCase {
self.scheduler.advance()

self.reloadDataCurrency.assertValues([.USD])
self.reloadDataEmail.assertValues(["nativesquad@ksr.com"])
self.reloadDataEmail.assertValues(["user@example.com"])
self.reloadDataIsAppleConnectedAccount.assertValues([true])
self.reloadDataShouldHideEmailPasswordSection.assertValues([true])
self.reloadDataShouldHideWarningIcon.assertValues([true])
Expand Down
8 changes: 0 additions & 8 deletions Kickstarter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1431,12 +1431,10 @@
D6CCD8A523A94C6200CFD5FF /* ActivityErroredBackingsCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6CCD8A423A94C6200CFD5FF /* ActivityErroredBackingsCell.swift */; };
D6D4425E22C2B4570070C3AF /* PledgePaymentMethodsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6D4425C22C276DF0070C3AF /* PledgePaymentMethodsViewController.swift */; };
D6DC653321768B6E008CF69C /* ChangeEmailViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6DC653221768B6E008CF69C /* ChangeEmailViewModel.swift */; };
D6DC65522178CDDD008CF69C /* GraphUserEmailTemplate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6DC65512178CDDC008CF69C /* GraphUserEmailTemplate.swift */; };
D6E7DAFA22089F3900689BD6 /* MessageBannerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6E7DAF922089F3900689BD6 /* MessageBannerViewController.swift */; };
D6E7DAFC22089F9800689BD6 /* SettingsViewControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6E7DAFB22089F9800689BD6 /* SettingsViewControllerTests.swift */; };
D6E925CE211107CD00E13010 /* SettingsNewslettersDataSourceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6765B4C211091AB00AE3DB4 /* SettingsNewslettersDataSourceTests.swift */; };
D6ED1B37216D0C64007F7547 /* ChangeEmailViewModelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6ED1B36216D0C64007F7547 /* ChangeEmailViewModelTests.swift */; };
D6ED1B39216D50BE007F7547 /* UserEmailFields.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6ED1B38216D50BE007F7547 /* UserEmailFields.swift */; };
D6ED1B3B216D525B007F7547 /* ChangeEmailInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6ED1B3A216D525B007F7547 /* ChangeEmailInput.swift */; };
D6ED1B3E216D61E0007F7547 /* UpdateUserAccountMutation.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6ED1B3D216D61E0007F7547 /* UpdateUserAccountMutation.swift */; };
D6ED386A1F796C26006CAAE9 /* GraphCategoriesEnvelopeLenses.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6ED38691F796C26006CAAE9 /* GraphCategoriesEnvelopeLenses.swift */; };
Expand Down Expand Up @@ -3061,11 +3059,9 @@
D6CCD8A423A94C6200CFD5FF /* ActivityErroredBackingsCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ActivityErroredBackingsCell.swift; sourceTree = "<group>"; };
D6D4425C22C276DF0070C3AF /* PledgePaymentMethodsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PledgePaymentMethodsViewController.swift; sourceTree = "<group>"; };
D6DC653221768B6E008CF69C /* ChangeEmailViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChangeEmailViewModel.swift; sourceTree = "<group>"; };
D6DC65512178CDDC008CF69C /* GraphUserEmailTemplate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GraphUserEmailTemplate.swift; sourceTree = "<group>"; };
D6E7DAF922089F3900689BD6 /* MessageBannerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageBannerViewController.swift; sourceTree = "<group>"; };
D6E7DAFB22089F9800689BD6 /* SettingsViewControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsViewControllerTests.swift; sourceTree = "<group>"; };
D6ED1B36216D0C64007F7547 /* ChangeEmailViewModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeEmailViewModelTests.swift; sourceTree = "<group>"; };
D6ED1B38216D50BE007F7547 /* UserEmailFields.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserEmailFields.swift; sourceTree = "<group>"; };
D6ED1B3A216D525B007F7547 /* ChangeEmailInput.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeEmailInput.swift; sourceTree = "<group>"; };
D6ED1B3D216D61E0007F7547 /* UpdateUserAccountMutation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UpdateUserAccountMutation.swift; sourceTree = "<group>"; };
D6ED38691F796C26006CAAE9 /* GraphCategoriesEnvelopeLenses.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GraphCategoriesEnvelopeLenses.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -5811,7 +5807,6 @@
8AA407CD24DB5316008C5FB0 /* GraphCategoryTemplates.swift */,
D63BBD32217F9CDE007E01F0 /* GraphCreditCardTemplate.swift */,
D08CD20221922025009F89F0 /* WatchProjectResponseEnvelopeTemplates.swift */,
D6DC65512178CDDC008CF69C /* GraphUserEmailTemplate.swift */,
D770DDE7217D729300B5319A /* GraphUserTemplates.swift */,
);
path = graphql;
Expand Down Expand Up @@ -6857,7 +6852,6 @@
D01588211EEB2ED7006E7684 /* User.NewsletterSubscriptionsTests.swift */,
D01588221EEB2ED7006E7684 /* User.NotificationsTests.swift */,
D01588231EEB2ED7006E7684 /* User.swift */,
D6ED1B38216D50BE007F7547 /* UserEmailFields.swift */,
7798B5622174F494008BC50D /* UserEnvelope.swift */,
D01588241EEB2ED7006E7684 /* UserTests.swift */,
608F974B2B752C4900DBE7D7 /* ValidateCheckoutEnvelope.swift */,
Expand Down Expand Up @@ -8748,7 +8742,6 @@
194154CE28D8ED69004648C8 /* CreatePaymentSourceSetupIntentInput.swift in Sources */,
D01588DF1EEB2ED7006E7684 /* User.StatsLenses.swift in Sources */,
06F7BE1826B31A020094BF37 /* UserCreditCards+UserFragment.swift in Sources */,
D6DC65522178CDDD008CF69C /* GraphUserEmailTemplate.swift in Sources */,
D0198F3621793FCF0090A9EC /* Service+RequestHelpers.swift in Sources */,
D01588CF1EEB2ED7006E7684 /* StarEnvelopeLenses.swift in Sources */,
D01589151EEB2ED7006E7684 /* Reward.swift in Sources */,
Expand Down Expand Up @@ -8789,7 +8782,6 @@
D0158A1E1EEB30A2006E7684 /* ProjectStatsEnvelope.FundingDateStatsTemplates.swift in Sources */,
D015899B1EEB2ED7006E7684 /* Service.swift in Sources */,
47D7D09A26C2EE5800D2BAB5 /* SignInWithAppleEnvelope+SignInWithAppleMutation.Data.swift in Sources */,
D6ED1B39216D50BE007F7547 /* UserEmailFields.swift in Sources */,
06232D3F2795EC3000A81755 /* TextNode+Helpers.swift in Sources */,
D01588731EEB2ED7006E7684 /* FindFriendsEnvelope.swift in Sources */,
60C996E82AC1FDD8006BE4F4 /* GraphAPI.CreateFlaggingInput+CreateFlaggingInput.swift in Sources */,
Expand Down
7 changes: 0 additions & 7 deletions KsApi/models/UserEmailFields.swift

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class CommentRepliesEnvelope_GraphCommentRepliesEnvelopeTests: XCTestCase
}

XCTAssertEqual(envelope.comment.author.id, "\(commentId)")
XCTAssertEqual(envelope.comment.author.name, "Spencer Hamann")
XCTAssertEqual(envelope.comment.author.name, "Lord of Creation")
XCTAssertEqual(
envelope.comment.body,
"Does the machine laser engrave on brass and copper? What’s max depth look like?"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ final class CommentsEnvelope_GraphCommentsEnvelopeTests: XCTestCase {
return
}

XCTAssertEqual(envelope.comments.count, 25)
XCTAssertEqual(envelope.comments.count, 6)
XCTAssertEqual(envelope.hasNextPage, false)
XCTAssertEqual(envelope.cursor, "WzMzNTc0MTMzXQ==")
XCTAssertEqual(envelope.totalCount, 34)
XCTAssertEqual(envelope.totalCount, 14)
XCTAssertNil(envelope.updateID)
XCTAssertEqual(envelope.slug, "jonhodgsonmaptiles2/a-state-rpg-second-edition")
}
Expand All @@ -26,10 +26,10 @@ final class CommentsEnvelope_GraphCommentsEnvelopeTests: XCTestCase {
return
}

XCTAssertEqual(envelope.comments.count, 11)
XCTAssertEqual(envelope.comments.count, 3)
XCTAssertEqual(envelope.hasNextPage, false)
XCTAssertEqual(envelope.cursor, "WzMzNjQ4MTM0XQ==")
XCTAssertEqual(envelope.totalCount, 11)
XCTAssertEqual(envelope.totalCount, 4)
XCTAssertEqual(envelope.updateID, "RnJlZWZvcm1Qb3N0LTMyNjQ5MDU=")
XCTAssertNil(envelope.slug)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ final class FetchProjectsEnvelope_FetchBackerProjectsQueryDataTests: XCTestCase
return
}

XCTAssertEqual(env.projects.count, 25)
XCTAssertEqual(env.projects.count, 3)
XCTAssertEqual(env.projects.first?.name, "Zan's Late Pledge Campaign")
XCTAssertEqual(env.totalCount, 59)
XCTAssertEqual(env.totalCount, 3)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,9 @@ final class Project_FetchProjectQueryDataTests: XCTestCase {
XCTAssertEqual(project.flagging, false)

/// Project User
XCTAssertEqual(
project.creator.avatar.large,
"https://i.kickstarter.com/assets/033/846/528/69cae8b2ccc2403e233b5715cb1f869f_original.png?anim=false&fit=crop&height=1024&origin=ugc-qa&q=92&width=1024&sig=Aqxdt8UgJpaDfrw6J1yrxsCD1IMS%2FZMnpPjISr2HX7I%3D"
)
XCTAssertEqual(
project.creator.avatar.medium,
"https://i.kickstarter.com/assets/033/846/528/69cae8b2ccc2403e233b5715cb1f869f_original.png?anim=false&fit=crop&height=1024&origin=ugc-qa&q=92&width=1024&sig=Aqxdt8UgJpaDfrw6J1yrxsCD1IMS%2FZMnpPjISr2HX7I%3D"
)
XCTAssertEqual(
project.creator.avatar.small,
"https://i.kickstarter.com/assets/033/846/528/69cae8b2ccc2403e233b5715cb1f869f_original.png?anim=false&fit=crop&height=1024&origin=ugc-qa&q=92&width=1024&sig=Aqxdt8UgJpaDfrw6J1yrxsCD1IMS%2FZMnpPjISr2HX7I%3D"
)
XCTAssertEqual(project.creator.avatar.large, "image-a")
XCTAssertEqual(project.creator.avatar.medium, "image-a")
XCTAssertEqual(project.creator.avatar.small, "image-a")
XCTAssertEqual(project.creator.erroredBackingsCount, 1)
XCTAssertEqual(project.creator.id, decompose(id: "VXNlci0xNTMyMzU3OTk3"))
XCTAssertTrue(project.creator.isEmailVerified!)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ final class Project_ProjectFragmentTests: XCTestCase {
"hasUnreadMessages":false,
"isSocializing":true,
"hasUnseenActivity":true,
"email":"tim_stolinski@yahoo.com.ksr",
"email":"t@example.com",
"hasPassword":null,
"id":"VXNlci0xMDA3NTM5MDAy",
"imageUrl":"https://i.kickstarter.com/assets/033/589/257/1202c14c958cc40645e67f7792a8b10a_original.png?anim=false&fit=crop&height=1024&origin=ugc-qa&q=92&width=1024&sig=ToW%2BTKQhE33LMs7emRVGC0n%2FDAEkIMw2C71CRtoPR%2FM%3D",
"imageUrl":"fake-image-url",
"isAppleConnected":null,
"isBlocked":false,
"isCreator":true,
Expand All @@ -336,10 +336,10 @@ final class Project_ProjectFragmentTests: XCTestCase {
"isFacebookConnected":true,
"isKsrAdmin":false,
"isFollowing":true,
"name":"Band of Bards Comics",
"name":"Creator Tiger",
"needsFreshFacebookToken":false,
"showPublicProfile":true,
"uid":"1007539002",
"uid":"11",
"location":{
"__typename":"Location",
"country":"US",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ public struct GraphUserEnvelopeTemplates {
[
"me": [
"chosenCurrency": nil,
"email": "nativesquad@ksr.com",
"email": "user@example.com",
"hasPassword": true,
"id": "VXNlci0xNDcwOTUyNTQ1",
"imageUrl": "https://i.kickstarter.com/missing_user_avatar.png?anim=false&fit=crop&height=1024&origin=ugc-qa&q=92&width=1024&sig=3CEELuVLNdj97Pjx4PDy7Q9OTZfKyMEZyeIlQicGPBY%3D",
"id": "fakeId",
"imageUrl": "https://i.kickstarter.com/missing_user_avatar.png",
"isAppleConnected": false,
"isBlocked": false,
"isCreator": false,
"isDeliverable": true,
"isEmailVerified": true,
"name": "Hari Singh",
"name": "Example User",
"storedCards": [
"nodes": [
[
Expand All @@ -27,7 +27,7 @@ public struct GraphUserEnvelopeTemplates {
],
"totalCount": 1
],
"uid": "1470952545"
"uid": "11111"
]
]
}
Loading

0 comments on commit 86d3bf3

Please sign in to comment.