Skip to content

Commit

Permalink
update snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottkicks committed May 20, 2024
1 parent aa18319 commit e5f184b
Show file tree
Hide file tree
Showing 117 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -155,7 +155,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config,
Expand Down Expand Up @@ -206,7 +206,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -252,7 +252,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(Project.cosmicSurgery.rewardData.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: currentUser, language: language
Expand Down Expand Up @@ -296,7 +296,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(Project.cosmicSurgery.rewardData.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -342,7 +342,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(Project.cosmicSurgery.rewardData.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: currentUser, language: language
Expand Down Expand Up @@ -383,7 +383,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(Project.cosmicSurgery.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -425,7 +425,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(Project.cosmicSurgery.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -478,7 +478,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -531,7 +531,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -584,7 +584,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -637,7 +637,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success([reward])
)

combos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone5_8inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -680,7 +680,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectPamphletResult: .success(projectPamphletData)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -723,7 +723,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectPamphletResult: .success(projectPamphletData)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: .template, language: language
Expand Down Expand Up @@ -766,7 +766,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(self.project.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: nil, language: language
Expand Down Expand Up @@ -805,7 +805,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(self.project.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: nil, language: language
Expand Down Expand Up @@ -845,7 +845,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
fetchProjectRewardsResult: .success(Project.cosmicSurgery.rewards)
)

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config, currentUser: nil, language: language
Expand Down Expand Up @@ -883,7 +883,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
|> Project.lens.photo.full .~ ""
|> (Project.lens.creator.avatar .. User.Avatar.lens.small) .~ ""

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
apiService: mockService,
config: config,
Expand Down Expand Up @@ -923,7 +923,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
|> Project.lens.rewardData.rewards .~ []
|> \.extendedProjectProperties .~ self.extendedProjectProperties

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
config: config,
language: language
Expand Down Expand Up @@ -961,7 +961,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
|> Project.lens.rewardData.rewards .~ []
|> \.extendedProjectProperties .~ self.extendedProjectProperties

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
config: config,
language: language
Expand Down Expand Up @@ -999,7 +999,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
|> Project.lens.rewardData.rewards .~ []
|> \.extendedProjectProperties .~ self.extendedProjectProperties

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
config: config,
currentUser: .template,
Expand Down Expand Up @@ -1125,7 +1125,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
let mockRemoteConfigClient = MockRemoteConfigClient()
|> \.features .~ ["use_of_ai": true]

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
config: config,
language: language,
Expand Down Expand Up @@ -1164,7 +1164,7 @@ internal final class ProjectPageViewControllerTests: TestCase {
|> Project.lens.rewardData.rewards .~ []
|> \.extendedProjectProperties .~ self.extendedProjectProperties

combos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
orthogonalCombos(Language.allLanguages, [Device.phone4inch, Device.pad]).forEach { language, device in
withEnvironment(
config: config,
language: language
Expand Down
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ final class ProjectPageViewControllerDataSourceTests: XCTestCase {
refTag: nil,
isExpandedStates: nil
)
XCTAssertEqual(3, self.dataSource.numberOfSections(in: self.tableView))
XCTAssertEqual(4, self.dataSource.numberOfSections(in: self.tableView))

// overviewCreatorHeader
XCTAssertEqual(
Expand Down

0 comments on commit e5f184b

Please sign in to comment.