mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-09-26 06:56:23 +00:00
style: mix format map_scoped_test
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,11 @@ defmodule WandererApp.Api.Policies.MapScopedTest do
|
||||
end
|
||||
|
||||
test "matches Character" do
|
||||
assert MapScoped.Trusted.match?(%WandererApp.Api.Character{id: Ecto.UUID.generate()}, %{}, [])
|
||||
assert MapScoped.Trusted.match?(
|
||||
%WandererApp.Api.Character{id: Ecto.UUID.generate()},
|
||||
%{},
|
||||
[]
|
||||
)
|
||||
end
|
||||
|
||||
test "does NOT match session ActorWithMap{map: nil}" do
|
||||
@@ -32,7 +36,8 @@ defmodule WandererApp.Api.Policies.MapScopedTest do
|
||||
end
|
||||
|
||||
test "create_parent_in_token_map/2" do
|
||||
assert {MapScoped.CreateParentInTokenMap, parent_resource: WandererApp.Api.MapSystem, fk: :system_id} =
|
||||
assert {MapScoped.CreateParentInTokenMap,
|
||||
parent_resource: WandererApp.Api.MapSystem, fk: :system_id} =
|
||||
MapScoped.create_parent_in_token_map(WandererApp.Api.MapSystem, :system_id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user