Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Dec 15, 2024
1 parent 17f090d commit 988b35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webserver/api/Api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func setPermissionApikey(key string, newPermission uint8, t *testing.T) {
}

func getAvailablePermissions(t *testing.T) []uint8 {
result := []uint8{models.ApiPermView, models.ApiPermUpload, models.ApiPermDelete, models.ApiPermApiMod, models.ApiPermEdit}
result := []uint8{models.ApiPermView, models.ApiPermUpload, models.ApiPermDelete, models.ApiPermApiMod, models.ApiPermEdit, models.ApiPermReplace}
sum := 0
for _, perm := range result {
sum = sum + int(perm)
Expand Down

0 comments on commit 988b35f

Please sign in to comment.