This commit is contained in:
parent
f9403c1da9
commit
fce01ddf83
2 changed files with 5 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ defmodule Mv.SeedsTest do
|
|||
# Seeds already run once in setup_all - count current state
|
||||
{:ok, users_count_1} = Ash.read(Mv.Accounts.User, actor: actor)
|
||||
{:ok, members_count_1} = Ash.read(Mv.Membership.Member, actor: actor)
|
||||
|
||||
{:ok, roles_count_1} =
|
||||
Ash.read(Mv.Authorization.Role, domain: Mv.Authorization, authorize?: false)
|
||||
|
||||
|
|
@ -67,6 +68,7 @@ defmodule Mv.SeedsTest do
|
|||
# Count records again - should be the same (upsert, not duplicate)
|
||||
{:ok, users_count_2} = Ash.read(Mv.Accounts.User, actor: actor)
|
||||
{:ok, members_count_2} = Ash.read(Mv.Membership.Member, actor: actor)
|
||||
|
||||
{:ok, roles_count_2} =
|
||||
Ash.read(Mv.Authorization.Role, domain: Mv.Authorization, authorize?: false)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
ExUnit.start(
|
||||
slowest: 10 # shows 10 slowest tests at the end of the test run
|
||||
# shows 10 slowest tests at the end of the test run
|
||||
slowest: 10
|
||||
)
|
||||
|
||||
Ecto.Adapters.SQL.Sandbox.mode(Mv.Repo, :manual)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue