Skip to content

Commit 4223d0d

Browse files
committed
fix(guard): passtrough argument number
1 parent d9db855 commit 4223d0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guard/test/guard/service_account/actions_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule Guard.ServiceAccount.ActionsTest do
3131
]},
3232
{Guard.Store.RbacUser, [:passthrough],
3333
[
34-
create: fn _, _, _ -> :ok end,
34+
create: fn _, _, _, _ -> :ok end,
3535
fetch: fn _ -> %{id: "rbac-user-id", user_id: "user-id"} end
3636
]},
3737
{Guard.Events.UserCreated, [:passthrough], [publish: fn _, _ -> :ok end]}
@@ -129,7 +129,7 @@ defmodule Guard.ServiceAccount.ActionsTest do
129129
]},
130130
{Guard.Store.RbacUser, [:passthrough],
131131
[
132-
create: fn _, _, _ -> :error end
132+
create: fn _, _, _, _ -> :error end
133133
]},
134134
{Guard.Events.UserCreated, [:passthrough], [publish: fn _, _ -> :ok end]}
135135
]) do
@@ -165,7 +165,7 @@ defmodule Guard.ServiceAccount.ActionsTest do
165165
]},
166166
{Guard.Store.RbacUser, [:passthrough],
167167
[
168-
create: fn _, _, _ -> :ok end,
168+
create: fn _, _, _, _ -> :ok end,
169169
fetch: fn _ -> nil end
170170
]}
171171
]) do

0 commit comments

Comments
 (0)