mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-24 22:39:09 +02:00
fix user handler test
This commit is contained in:
@@ -699,7 +699,7 @@ func TestCurrentUser(t *testing.T) {
|
|||||||
rr := httptest.NewRecorder()
|
rr := httptest.NewRecorder()
|
||||||
|
|
||||||
userAuth := &auth.UserAuth{
|
userAuth := &auth.UserAuth{
|
||||||
UserId: existingUserID,
|
UserId: tc.requestAuth.UserId,
|
||||||
AccountId: existingAccountID,
|
AccountId: existingAccountID,
|
||||||
}
|
}
|
||||||
userHandler.getCurrentUser(rr, req, userAuth)
|
userHandler.getCurrentUser(rr, req, userAuth)
|
||||||
|
|||||||
Reference in New Issue
Block a user