Skip to content

Commit

Permalink
Replace :type_field by :type_field_name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuprog committed Jun 3, 2024
1 parent 6b74a27 commit 744912e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/polymorphic_embed_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3335,7 +3335,7 @@ defmodule PolymorphicEmbedTest do
]
],
on_replace: :update,
type_field: :my_type_field
type_field_name: :my_type_field
]

PolymorphicEmbed.init(opts)
Expand Down
2 changes: 1 addition & 1 deletion test/support/models/polymorphic/reminder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule PolymorphicEmbed.Reminder do
email: PolymorphicEmbed.Channel.Email
],
on_replace: :update,
type_field: :my_type_field
type_field_name: :my_type_field
)

polymorphic_embeds_many(:contexts,
Expand Down

0 comments on commit 744912e

Please sign in to comment.