Skip to content

Commit

Permalink
fix unit test (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
JunNishimura committed Mar 31, 2024
1 parent 7778ebb commit 44dc82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 44dc82f

Please sign in to comment.