Skip to content

Commit

Permalink
Merge pull request #495 from woylie/skip-composite-type-test-sqlite
Browse files Browse the repository at this point in the history
skip composite type test for sqlite
  • Loading branch information
woylie authored Sep 11, 2024
2 parents 6ae8884 + b30f913 commit 98ea952
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions test/adapters/ecto/cases/flop_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 0 additions & 4 deletions test/adapters/ecto/sqlite/migration.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/adapters/ecto/sqlite/test_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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])

0 comments on commit 98ea952

Please sign in to comment.