Skip to content

Commit

Permalink
fix: fix UpdatePermission() test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Oct 13, 2023
1 parent 867fc18 commit c350da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions casdoorsdk/permission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ func TestPermission(t *testing.T) {
Users: []string{"casbin/*"},
Roles: []string{},
Domains: []string{},
Model: "model-casbin",
Model: "user-model-built-in",
ResourceType: "Application",
Resources: []string{"app-casbin"},
Actions: []string{"Read","Write"},
Actions: []string{"Read", "Write"},
Effect: "Allow",
IsEnabled: true,
}
Expand Down

0 comments on commit c350da7

Please sign in to comment.