()
| 909 | } |
| 910 | |
| 911 | func sampleJSONAccount() jsonAccount { |
| 912 | return jsonAccount{ |
| 913 | Type: "full", |
| 914 | AccountID: "dbid:account", |
| 915 | Auth: &accountAuth{Source: authSourceSaved, Refreshable: true, AuthFile: authFileDefault}, |
| 916 | Name: &jsonAccountName{GivenName: "Ada", Surname: "Lovelace", FamiliarName: "Ada", DisplayName: "Ada Lovelace", AbbreviatedName: "AL"}, |
| 917 | Email: "ada@example.com", |
| 918 | EmailVerified: true, |
| 919 | Disabled: false, |
| 920 | ProfilePhotoURL: "https://example.com/profile.jpg", |
| 921 | Locale: "en", |
| 922 | ReferralLink: "https://example.com/referral", |
| 923 | IsPaired: boolPtr(false), |
| 924 | AccountType: "basic", |
| 925 | IsTeammate: boolPtr(true), |
| 926 | TeamMemberID: "dbmid:team-member", |
| 927 | Team: &jsonAccountTeam{ID: "team-id", Name: "Engineering", MemberID: "dbmid:team-member"}, |
| 928 | } |
| 929 | } |
| 930 | |
| 931 | func sampleJSONFileMetadata(path string) jsonMetadata { |
| 932 | return jsonMetadata{ |
no test coverage detected