Skip to content

Commit d1c5bd2

Browse files
committed
remove unused schema from constraint test
1 parent ca6f1bc commit d1c5bd2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

integration_test/myxql/constraints_test.exs

-12
Original file line numberDiff line numberDiff 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 =

0 commit comments

Comments
 (0)