Skip to content

Commit 4f80046

Browse files
committed
remove unused schema from constraint test
1 parent c1446c2 commit 4f80046

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
@@ -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 =

0 commit comments

Comments
 (0)