add testing for util.go

This commit is contained in:
Cubicroot 2021-08-06 21:34:30 +02:00
parent 562ee7aa4a
commit a6fa829165
2 changed files with 63 additions and 1 deletions

View file

@ -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)
}
}
}