From d1c5bd218aac17fe11ceaae0bb47752a0ea7c90b Mon Sep 17 00:00:00 2001 From: Peter Mueller <6015288+petermueller@users.noreply.github.com> Date: Mon, 29 Jul 2024 00:45:59 -0400 Subject: [PATCH] remove unused schema from constraint test --- integration_test/myxql/constraints_test.exs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/integration_test/myxql/constraints_test.exs b/integration_test/myxql/constraints_test.exs index 9f544426..8291c6dc 100644 --- a/integration_test/myxql/constraints_test.exs +++ b/integration_test/myxql/constraints_test.exs @@ -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 @@ -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 =