mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-29 09:02:22 +00:00
fix test warning
This commit is contained in:
@@ -141,8 +141,8 @@ func TestUserLoginDelete(t *testing.T) {
|
||||
log.Printf("List apps: %s\n", raw["apps"])
|
||||
|
||||
rootToken = oldRootToken
|
||||
user_requests, _ := helpGetUserRequests("token", userTOKEN)
|
||||
if user_requests["total"].(float64) != 4 {
|
||||
userRequests, _ := helpGetUserRequests("token", userTOKEN)
|
||||
if userRequests["total"].(float64) != 4 {
|
||||
t.Fatalf("Wrong number of user requests\n")
|
||||
}
|
||||
// get user requests
|
||||
|
||||
Reference in New Issue
Block a user