MCPcopy Create free account
hub / github.com/dropbox/dbxcli / testFullAccount

Function testFullAccount

cmd/account_test.go:248–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246}
247
248func 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
267func testBasicAccount() *users.BasicAccount {
268 return users.NewBasicAccount(

Calls 1

accountTypeFunction · 0.85

Tested by

no test coverage detected