Skip to content

Commit

Permalink
Eliminate Satoshi Nakamoto 🔫
Browse files Browse the repository at this point in the history
  • Loading branch information
maciek-rdx committed Jul 6, 2023
1 parent 82dd228 commit ba55431
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions Sources/Profile/Entity/PersonaData/PersonaData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,51 +79,5 @@ extension PersonaData {
}

extension PersonaData {
public static let previewValue: Self = try! .init(
name: .init(value: .init(
given: "Satoshi",
middle: "Creator of Bitcoin",
family: "Nakamoto", variant: .eastern
)),
dateOfBirth: .init(value: .init(year: 2009, month: 1, day: 3)),
companyName: .init(value: .init(name: "Bitcoin")),
emailAddresses: .init(collection: [
.init(value: .init(email: "satoshi@nakamoto.bitcoin")),
.init(value: .init(email: "be.your@own.bank")),
]),
phoneNumbers: .init(collection: [
.init(value: .init(number: "21000000")),
.init(value: .init(number: "123456789")),
]),
urls: .init(collection: [
.init(value: .init(url: "bitcoin.org")),
.init(value: .init(url: "https://github.com/bitcoin-core/secp256k1")),
]),
postalAddresses: .init(collection: [
.init(value: .init(validating: [
.postalCode("21 000 000"),
.prefecture("SHA256"), .countySlashCity("Hashtown"),
.furtherDivisionsLine0("Sound money street"),
.furtherDivisionsLine1(""),
.countryOrRegion(.japan),
])),
.init(value: .init(validating: [
.streetLine0("Copthall House"),
.streetLine1("King street"),
.townSlashCity("Newcastle-under-Lyme"),
.county("Newcastle"),
.postcode("ST5 1UE"),
.countryOrRegion(.unitedKingdom),
])),
]),
creditCards: .init(collection: [
.init(value: .init(
expiry: .init(year: 2142, month: 12),
holder: "Satoshi Nakamoto",
number: "0000 0000 2100 0000",
cvc: 512
)
),
])
)
public static let previewValue: Self = .init()
}

0 comments on commit ba55431

Please sign in to comment.