From c350da7cd950e0c2a1b5a61df37cdebc62b111df Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Fri, 13 Oct 2023 13:50:00 +0800 Subject: [PATCH] fix: fix UpdatePermission() test failure --- casdoorsdk/permission_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/casdoorsdk/permission_test.go b/casdoorsdk/permission_test.go index 7dc5d3f..4eb4b2a 100644 --- a/casdoorsdk/permission_test.go +++ b/casdoorsdk/permission_test.go @@ -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, }