File tree 1 file changed +0
-12
lines changed
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
106
106
end
107
107
end
108
108
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
-
119
109
@ base_migration 2_000_000
120
110
121
111
setup_all do
@@ -213,8 +203,6 @@ defmodule Ecto.Integration.ConstraintsTest do
213
203
assert exception . message =~ "The changeset has not defined any constraint."
214
204
assert exception . message =~ "call `exclusion_constraint/3`"
215
205
216
- #####
217
-
218
206
# When the changeset does expect the db error
219
207
# but the key does not match the default generated by `exclusion_constraint`
220
208
exception =
You can’t perform that action at this time.
0 commit comments