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 @@ -109,16 +109,6 @@ defmodule Ecto.Integration.ConstraintsTest do
109
109
end
110
110
end
111
111
112
- defmodule CustomConstraint do
113
- use Ecto.Integration.Schema
114
-
115
- schema "procedure_constraints_test" do
116
- field :member_id , :integer
117
- field :started_at , :utc_datetime_usec
118
- field :ended_at , :utc_datetime_usec
119
- end
120
- end
121
-
122
112
@ base_migration 2_000_000
123
113
124
114
setup_all do
@@ -217,8 +207,6 @@ defmodule Ecto.Integration.ConstraintsTest do
217
207
assert exception . message =~ "The changeset has not defined any constraint."
218
208
assert exception . message =~ "call `exclusion_constraint/3`"
219
209
220
- #####
221
-
222
210
# When the changeset does expect the db error
223
211
# but the key does not match the default generated by `exclusion_constraint`
224
212
exception =
You can’t perform that action at this time.
0 commit comments