Skip to content

Commit 70ae76c

Browse files
committed
Remote outdated tests on Ecto main
1 parent a1ee3a2 commit 70ae76c

3 files changed

Lines changed: 0 additions & 30 deletions

File tree

test/ecto/adapters/myxql_test.exs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,16 +1152,6 @@ defmodule Ecto.Adapters.MyXQLTest do
11521152
~s{INNER JOIN `schema` AS s2 ON TRUE}
11531153
end
11541154

1155-
test "join with invalid qualifier" do
1156-
assert_raise Ecto.QueryError, ~r/join qualifier :array is not supported/, fn ->
1157-
Schema
1158-
|> join(:array, [p], q in Schema2, on: p.x == q.z)
1159-
|> select([], true)
1160-
|> plan()
1161-
|> all()
1162-
end
1163-
end
1164-
11651155
test "join with hints" do
11661156
assert Schema
11671157
|> join(:inner, [p], q in Schema2, on: true, hints: ["USE INDEX FOO", "USE INDEX BAR"])

test/ecto/adapters/postgres_test.exs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,16 +1494,6 @@ defmodule Ecto.Adapters.PostgresTest do
14941494
~s{INNER JOIN "schema" AS s2 ON TRUE}
14951495
end
14961496

1497-
test "join with invalid qualifier" do
1498-
assert_raise Ecto.QueryError, ~r/join qualifier :array is not supported/, fn ->
1499-
Schema
1500-
|> join(:array, [p], q in Schema2, on: p.x == q.z)
1501-
|> select([], true)
1502-
|> plan()
1503-
|> all()
1504-
end
1505-
end
1506-
15071497
test "join with hints" do
15081498
assert_raise Ecto.QueryError, ~r/table hints are not supported by PostgreSQL/, fn ->
15091499
Schema

test/ecto/adapters/tds_test.exs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,16 +1045,6 @@ defmodule Ecto.Adapters.TdsTest do
10451045
~s{INNER JOIN [schema] AS s2 ON 1 = 1}
10461046
end
10471047

1048-
test "join with invalid qualifier" do
1049-
assert_raise Ecto.QueryError, ~r/join qualifier :array is not supported/, fn ->
1050-
Schema
1051-
|> join(:array, [p], q in Schema2, on: p.x == q.z)
1052-
|> select([], true)
1053-
|> plan()
1054-
|> all()
1055-
end
1056-
end
1057-
10581048
test "join with hints" do
10591049
assert Schema
10601050
|> join(:inner, [p], q in Schema2, hints: ["USE INDEX FOO", "USE INDEX BAR"], on: true)

0 commit comments

Comments
 (0)