From 44dc82f66abbc96eea43ba148b0e6d0edf572b92 Mon Sep 17 00:00:00 2001 From: Jun Nishimura Date: Sun, 31 Mar 2024 12:20:31 +0900 Subject: [PATCH] fix unit test (#5) --- adapter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter_test.go b/adapter_test.go index 02939b0..56d14c4 100644 --- a/adapter_test.go +++ b/adapter_test.go @@ -93,7 +93,7 @@ func testAutoSave(t *testing.T, a *bunAdapter) { testGetPolicy( t, e, - [][]string{{"alice", "data1", "write"}, {"bob", "data2", "write"}, {"data2_admin", "data2", "read"}, {"data2_admin", "data2", "write"}, {"alice", "data1", "write"}}, + [][]string{{"alice", "data1", "read"}, {"bob", "data2", "write"}, {"data2_admin", "data2", "read"}, {"data2_admin", "data2", "write"}, {"alice", "data1", "write"}}, ) if _, err := e.RemovePolicy("alice", "data1", "write"); err != nil {