()
| 246 | } |
| 247 | |
| 248 | func testFullAccount() *users.FullAccount { |
| 249 | account := users.NewFullAccount( |
| 250 | "dbid:current", |
| 251 | users.NewName("Test", "User", "Test", "Test User", "TU"), |
| 252 | "test@example.com", |
| 253 | true, |
| 254 | false, |
| 255 | "en", |
| 256 | "https://dropbox.example/ref", |
| 257 | false, |
| 258 | accountType(users_common.AccountTypeBusiness), |
| 259 | nil, |
| 260 | ) |
| 261 | account.ProfilePhotoUrl = "https://dropbox.example/photo" |
| 262 | account.Team = users.NewFullTeam("team-id", "Team Name", nil, nil, nil) |
| 263 | account.TeamMemberId = "dbmid:member" |
| 264 | return account |
| 265 | } |
| 266 | |
| 267 | func testBasicAccount() *users.BasicAccount { |
| 268 | return users.NewBasicAccount( |
no test coverage detected