Skip to content

Commit

Permalink
chore: clear unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kayprogrammer committed Jan 31, 2025
1 parent 516e2a2 commit 25559f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/admin_users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func getUsers(t *testing.T, app *fiber.App, db *gorm.DB, baseUrl string, token s
})
}

func updateUserRole(t *testing.T, app *fiber.App, db *gorm.DB, baseUrl string, admin models.User, token string) {
func updateUserRole(t *testing.T, app *fiber.App, baseUrl string, admin models.User, token string) {
data := schemas.UpdateUserRoleSchema{AccountType: choices.ACCTYPE_READER}

t.Run("Reject Role Update Due to Invalid Username", func(t *testing.T) {
Expand Down Expand Up @@ -91,6 +91,6 @@ func TestAdminUsers(t *testing.T) {

// Run Admin Users Endpoint Tests
getUsers(t, app, db, baseUrl, token)
updateUserRole(t, app, db, baseUrl, admin, token)
updateUserRole(t, app, baseUrl, admin, token)
toggleUserActivation(t, app, db, baseUrl, token)
}

0 comments on commit 25559f5

Please sign in to comment.