From b30f913bd87d4422852baa11cb795436a32e8e50 Mon Sep 17 00:00:00 2001 From: woylie <13847569+woylie@users.noreply.github.com> Date: Wed, 11 Sep 2024 19:32:12 +0900 Subject: [PATCH] skip composite type test for sqlite --- test/adapters/ecto/cases/flop_test.exs | 1 + test/adapters/ecto/sqlite/migration.exs | 4 ---- test/adapters/ecto/sqlite/test_helper.exs | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/adapters/ecto/cases/flop_test.exs b/test/adapters/ecto/cases/flop_test.exs index 97154d2..7bcefa6 100644 --- a/test/adapters/ecto/cases/flop_test.exs +++ b/test/adapters/ecto/cases/flop_test.exs @@ -1700,6 +1700,7 @@ defmodule Flop.Adapters.Ecto.FlopTest do end end + @tag :composite_type test "paging on composite type" do 1..10 |> Enum.map( diff --git a/test/adapters/ecto/sqlite/migration.exs b/test/adapters/ecto/sqlite/migration.exs index 49d469e..e0e4cb8 100644 --- a/test/adapters/ecto/sqlite/migration.exs +++ b/test/adapters/ecto/sqlite/migration.exs @@ -29,9 +29,5 @@ defmodule Flop.Repo.SQLite.Migration do add(:extra, {:map, :string}) add(:owner_id, references(:owners)) end - - create table(:walking_distances) do - add(:trip, :distance) - end end end diff --git a/test/adapters/ecto/sqlite/test_helper.exs b/test/adapters/ecto/sqlite/test_helper.exs index b17ca21..3544bbc 100644 --- a/test/adapters/ecto/sqlite/test_helper.exs +++ b/test/adapters/ecto/sqlite/test_helper.exs @@ -36,4 +36,4 @@ _ = Ecto.Adapters.SQLite3.storage_down(Flop.Repo.config()) :ok = Ecto.Migrator.up(Flop.Repo, 0, Flop.Repo.SQLite.Migration, log: false) {:ok, _} = Application.ensure_all_started(:ex_machina) -ExUnit.start(exclude: [:prefix]) +ExUnit.start(exclude: [:composite_type, :prefix])