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 @@ -109,16 +109,6 @@ defmodule Ecto.Integration.ConstraintsTest do
109109 end
110110 end
111111
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-
122112 @ base_migration 2_000_000
123113
124114 setup_all do
@@ -217,8 +207,6 @@ defmodule Ecto.Integration.ConstraintsTest do
217207 assert exception . message =~ "The changeset has not defined any constraint."
218208 assert exception . message =~ "call `exclusion_constraint/3`"
219209
220- #####
221-
222210 # When the changeset does expect the db error
223211 # but the key does not match the default generated by `exclusion_constraint`
224212 exception =
You can’t perform that action at this time.
0 commit comments