diff --git a/integration_test/myxql/constraints_test.exs b/integration_test/myxql/constraints_test.exs index 9f544426..8291c6dc 100644 --- a/integration_test/myxql/constraints_test.exs +++ b/integration_test/myxql/constraints_test.exs @@ -109,16 +109,6 @@ defmodule Ecto.Integration.ConstraintsTest do end end - defmodule CustomConstraint do - use Ecto.Integration.Schema - - schema "procedure_constraints_test" do - field :member_id, :integer - field :started_at, :utc_datetime_usec - field :ended_at, :utc_datetime_usec - end - end - @base_migration 2_000_000 setup_all do @@ -217,8 +207,6 @@ defmodule Ecto.Integration.ConstraintsTest do assert exception.message =~ "The changeset has not defined any constraint." assert exception.message =~ "call `exclusion_constraint/3`" - ##### - # When the changeset does expect the db error # but the key does not match the default generated by `exclusion_constraint` exception =