Skip to content

Commit

Permalink
Remote outdated tests on Ecto main
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 1, 2024
1 parent a1ee3a2 commit 70ae76c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
10 changes: 0 additions & 10 deletions test/ecto/adapters/myxql_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1152,16 +1152,6 @@ defmodule Ecto.Adapters.MyXQLTest do
~s{INNER JOIN `schema` AS s2 ON TRUE}
end

test "join with invalid qualifier" do
assert_raise Ecto.QueryError, ~r/join qualifier :array is not supported/, fn ->
Schema
|> join(:array, [p], q in Schema2, on: p.x == q.z)
|> select([], true)
|> plan()
|> all()
end
end

test "join with hints" do
assert Schema
|> join(:inner, [p], q in Schema2, on: true, hints: ["USE INDEX FOO", "USE INDEX BAR"])
Expand Down
10 changes: 0 additions & 10 deletions test/ecto/adapters/postgres_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1494,16 +1494,6 @@ defmodule Ecto.Adapters.PostgresTest do
~s{INNER JOIN "schema" AS s2 ON TRUE}
end

test "join with invalid qualifier" do
assert_raise Ecto.QueryError, ~r/join qualifier :array is not supported/, fn ->
Schema
|> join(:array, [p], q in Schema2, on: p.x == q.z)
|> select([], true)
|> plan()
|> all()
end
end

test "join with hints" do
assert_raise Ecto.QueryError, ~r/table hints are not supported by PostgreSQL/, fn ->
Schema
Expand Down
10 changes: 0 additions & 10 deletions test/ecto/adapters/tds_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1045,16 +1045,6 @@ defmodule Ecto.Adapters.TdsTest do
~s{INNER JOIN [schema] AS s2 ON 1 = 1}
end

test "join with invalid qualifier" do
assert_raise Ecto.QueryError, ~r/join qualifier :array is not supported/, fn ->
Schema
|> join(:array, [p], q in Schema2, on: p.x == q.z)
|> select([], true)
|> plan()
|> all()
end
end

test "join with hints" do
assert Schema
|> join(:inner, [p], q in Schema2, hints: ["USE INDEX FOO", "USE INDEX BAR"], on: true)
Expand Down

0 comments on commit 70ae76c

Please sign in to comment.