aboutsummaryrefslogtreecommitdiff
path: root/test/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/user.go')
-rw-r--r--test/user.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/user.go b/test/user.go
index 692eae35..95a8f83e 100644
--- a/test/user.go
+++ b/test/user.go
@@ -47,7 +47,7 @@ var (
type User struct {
ID string
- accountType api.AccountType
+ AccountType api.AccountType
// key ID and private key of the server who has this user, if known.
keyID gomatrixserverlib.KeyID
privKey ed25519.PrivateKey
@@ -66,7 +66,7 @@ func WithSigningServer(srvName gomatrixserverlib.ServerName, keyID gomatrixserve
func WithAccountType(accountType api.AccountType) UserOpt {
return func(u *User) {
- u.accountType = accountType
+ u.AccountType = accountType
}
}