Skip to content

Commit

Permalink
remove unused schema from constraint test
Browse files Browse the repository at this point in the history
  • Loading branch information
petermueller committed Jul 29, 2024
1 parent ca6f1bc commit d1c5bd2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions integration_test/myxql/constraints_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,6 @@ defmodule Ecto.Integration.ConstraintsTest do
end
end

defmodule CustomConstraint do
use Ecto.Integration.Schema

schema "procedure_constraints_test" do
field :member_id, :integer
field :started_at, :utc_datetime_usec
field :ended_at, :utc_datetime_usec
end
end

@base_migration 2_000_000

setup_all do
Expand Down Expand Up @@ -217,8 +207,6 @@ defmodule Ecto.Integration.ConstraintsTest do
assert exception.message =~ "The changeset has not defined any constraint."
assert exception.message =~ "call `exclusion_constraint/3`"

#####

# When the changeset does expect the db error
# but the key does not match the default generated by `exclusion_constraint`
exception =
Expand Down

0 comments on commit d1c5bd2

Please sign in to comment.