mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-02 19:07:46 +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"])
|
log.Printf("List apps: %s\n", raw["apps"])
|
||||||
|
|
||||||
rootToken = oldRootToken
|
rootToken = oldRootToken
|
||||||
user_requests, _ := helpGetUserRequests("token", userTOKEN)
|
userRequests, _ := helpGetUserRequests("token", userTOKEN)
|
||||||
if user_requests["total"].(float64) != 4 {
|
if userRequests["total"].(float64) != 4 {
|
||||||
t.Fatalf("Wrong number of user requests\n")
|
t.Fatalf("Wrong number of user requests\n")
|
||||||
}
|
}
|
||||||
// get user requests
|
// get user requests
|
||||||
|
|||||||
Reference in New Issue
Block a user