Skip to content

Commit

Permalink
chore: remove old test
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 3, 2024
1 parent 5ecc4fe commit 668feee
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/ash_money_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,4 @@ defmodule AshMoneyTest do
{Ash.Type.Decimal, []}
], {Ash.Type.Boolean, []}}
end

test "type overrides use decimals" do
{:ok, %op{left: left, right: right}} =
expr(
amount *
(duration / 10)
)
|> Ash.Filter.hydrate_refs(%{resource: ExampleResource})

determine_types(op, [left, right], AshMoney.Types.Money) |> IO.inspect()

# {:ok, %op{left: left, right: right}} =
# expr(duration / 60 * 2)
# |> Ash.Filter.hydrate_refs(%{resource: ExampleResource})

# determine_types(op, [left, right], :decimal) |> IO.inspect()
end
end

0 comments on commit 668feee

Please sign in to comment.