ash/test/actions
Alan Heywood 2ee311b061
test: demonstrate error with bulk update on manual action (#1204)
The following error is produced

1) test manual updates are supported (Ash.Test.Actions.BulkUpdateTest)
     test/actions/bulk/bulk_update_test.exs:358
     ** (CaseClauseError) no case clause matching: nil
     code: |> Ash.bulk_update!(:update_manual, %{},
     stacktrace:
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:2076: anonymous fn/11 in Ash.Actions.Update.Bulk.run_batch/10
       (elixir 1.16.2) lib/enum.ex:1264: anonymous fn/3 in Enum.flat_map/2
       (stdlib 5.0.2) maps.erl:416: :maps.fold_1/4
       (elixir 1.16.2) lib/enum.ex:2540: Enum.flat_map/2
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1966: Ash.Actions.Update.Bulk.run_batch/10
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1505: Ash.Actions.Update.Bulk.do_handle_batch/13
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1042: anonymous fn/12 in Ash.Actions.Update.Bulk.do_stream_batches/7
       (elixir 1.16.2) lib/stream.ex:613: anonymous fn/4 in Stream.map/2
       (elixir 1.16.2) lib/stream.ex:1816: anonymous fn/3 in Enumerable.Stream.reduce/3
       (elixir 1.16.2) lib/stream.ex:273: anonymous fn/4 in Stream.chunk_while_fun/2
       (elixir 1.16.2) lib/stream.ex:1159: anonymous fn/3 in Stream.with_index/2
       (elixir 1.16.2) lib/stream.ex:1079: Stream.do_transform_each/3
       (elixir 1.16.2) lib/stream.ex:1816: anonymous fn/3 in Enumerable.Stream.reduce/3
       (elixir 1.16.2) lib/enum.ex:4839: Enumerable.List.reduce/3
       (elixir 1.16.2) lib/stream.ex:1027: Stream.do_transform_inner_list/7
       (elixir 1.16.2) lib/stream.ex:1828: Enumerable.Stream.do_each/4
       (elixir 1.16.2) lib/stream.ex:1052: Stream.do_transform_inner_enum/7
       (elixir 1.16.2) lib/stream.ex:1828: Enumerable.Stream.do_each/4
       (elixir 1.16.2) lib/stream.ex:943: Stream.do_transform/5
       (elixir 1.16.2) lib/enum.ex:4396: Enum.reverse/1
       (elixir 1.16.2) lib/enum.ex:3728: Enum.to_list/1
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:1070: Ash.Actions.Update.Bulk.run_batches/3
       (ash 3.0.7) lib/ash/actions/update/bulk.ex:386: Ash.Actions.Update.Bulk.run/6
       (ash 3.0.7) lib/ash.ex:2209: Ash.bulk_update!/4
       test/actions/bulk/bulk_update_test.exs:373: (test)
2024-05-27 10:32:39 -04:00
..
bulk test: demonstrate error with bulk update on manual action (#1204) 2024-05-27 10:32:39 -04:00
aggregate_test.exs
async_load_test.exs
atomic_update_test.exs improvement: add pattern matching for clarity on ref/1 and ref/2 2024-05-15 11:25:54 -04:00
belongs_to_test.exs improvement: support atomics, update_query, destroy_query in ETS data layer 2024-04-25 22:18:54 -04:00
create_test.exs
destroy_test.exs improvement: support atomics, update_query, destroy_query in ETS data layer 2024-04-25 22:18:54 -04:00
generic_actions_test.exs
has_many_test.exs improvement: support atomics, update_query, destroy_query in ETS data layer 2024-04-25 22:18:54 -04:00
identity_test.exs chore: clean up changelog and format 2024-05-24 00:35:13 -04:00
load_test.exs feat: allow retrieving the count of paginated relationships (#1183) 2024-05-21 08:48:11 -04:00
manual_read_test.exs
many_to_many_test.exs
multitenancy_test.exs Fix: keep data's metadata in atomic update (#1165) 2024-05-14 13:17:51 -04:00
pagination_test.exs feat: add relationship pagination (#1050) 2024-05-04 05:56:46 -04:00
read_test.exs
stream_test.exs fix: streaming with limit/offset and no pagination (#1080) 2024-04-30 13:03:49 -04:00
timeout_test.exs
update_test.exs fix: check the where condition before checking validation atomicity (#1177) 2024-05-16 15:49:08 -05:00
validation_test.exs fix: run changesets w/ after_transaction hooks through standard logic 2024-05-02 00:06:31 -04:00