]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/client_conn_test.go
minor: v0.6.0
[rbdr/mobius] / hotline / client_conn_test.go
index d18f9b603fa2fbfd0f929248e717e9b58b17dd23..da0a2cc1187181d49dd5df8c399d02547845817a 100644 (file)
@@ -11,13 +11,13 @@ func TestClientConn_handleTransaction(t *testing.T) {
                ID         *[]byte
                Icon       *[]byte
                Flags      *[]byte
-               UserName   *[]byte
+               UserName   []byte
                Account    *Account
-               IdleTime   *int
+               IdleTime   int
                Server     *Server
                Version    *[]byte
                Idle       bool
-               AutoReply  *[]byte
+               AutoReply  []byte
        }
        type args struct {
                transaction *Transaction
@@ -39,7 +39,6 @@ func TestClientConn_handleTransaction(t *testing.T) {
                                Flags:      tt.fields.Flags,
                                UserName:   tt.fields.UserName,
                                Account:    tt.fields.Account,
-                               IdleTime:   tt.fields.IdleTime,
                                Server:     tt.fields.Server,
                                Version:    tt.fields.Version,
                                Idle:       tt.fields.Idle,
@@ -50,4 +49,4 @@ func TestClientConn_handleTransaction(t *testing.T) {
                        }
                })
        }
-}
\ No newline at end of file
+}