From f22aa308c70d9f642b57fbbab1d543eeb2dd5148 Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Tue, 30 Sep 2025 10:47:47 -0400 Subject: [PATCH 1/2] remove test --- integration_test/sql/sql.exs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/integration_test/sql/sql.exs b/integration_test/sql/sql.exs index a07eab25..5153b6cd 100644 --- a/integration_test/sql/sql.exs +++ b/integration_test/sql/sql.exs @@ -9,11 +9,6 @@ defmodule Ecto.Integration.SQLTest do alias Ecto.Integration.Tag import Ecto.Query, only: [from: 2, from: 1] - test "fragment tuple sources" do - query = from f in {fragment("select 1 as num"), Barebone} - assert %Barebone{num: 1} = TestRepo.one(query) - end - test "fragmented types" do datetime = ~N[2014-01-16 20:26:51] TestRepo.insert!(%Post{inserted_at: datetime}) From 381a6af84df5289d7f65db431222f96a3116568f Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Tue, 30 Sep 2025 10:50:28 -0400 Subject: [PATCH 2/2] get rid of unused import --- integration_test/sql/sql.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_test/sql/sql.exs b/integration_test/sql/sql.exs index 5153b6cd..46d1eb8a 100644 --- a/integration_test/sql/sql.exs +++ b/integration_test/sql/sql.exs @@ -7,7 +7,7 @@ defmodule Ecto.Integration.SQLTest do alias Ecto.Integration.Post alias Ecto.Integration.CorruptedPk alias Ecto.Integration.Tag - import Ecto.Query, only: [from: 2, from: 1] + import Ecto.Query, only: [from: 2] test "fragmented types" do datetime = ~N[2014-01-16 20:26:51]