File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -106,16 +106,6 @@ defmodule Ecto.Integration.ConstraintsTest do
106106 end
107107 end
108108
109- defmodule CustomConstraint do
110- use Ecto.Integration.Schema
111-
112- schema "procedure_constraints_test" do
113- field :member_id , :integer
114- field :started_at , :utc_datetime_usec
115- field :ended_at , :utc_datetime_usec
116- end
117- end
118-
119109 @ base_migration 2_000_000
120110
121111 setup_all do
@@ -213,8 +203,6 @@ defmodule Ecto.Integration.ConstraintsTest do
213203 assert exception . message =~ "The changeset has not defined any constraint."
214204 assert exception . message =~ "call `exclusion_constraint/3`"
215205
216- #####
217-
218206 # When the changeset does expect the db error
219207 # but the key does not match the default generated by `exclusion_constraint`
220208 exception =
You can’t perform that action at this time.
0 commit comments