mirror of
https://github.com/pushbits/server.git
synced 2025-05-10 07:26:59 +02:00
add testing for util.go
This commit is contained in:
parent
562ee7aa4a
commit
a6fa829165
2 changed files with 63 additions and 1 deletions
|
@ -184,7 +184,6 @@ func TestApi_GetUser(t *testing.T) {
|
|||
assert.Equalf(user.MatrixID, shouldUser.MatrixID, "(Test case %s) user matrix ID should be %s but is %s", testCase.Name, user.MatrixID, shouldUser.MatrixID)
|
||||
assert.Equalf(user.IsAdmin, shouldUser.IsAdmin, "(Test case %s) user is admin should be %v but is %v", testCase.Name, user.IsAdmin, shouldUser.IsAdmin)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue