@@ -601,7 +601,8 @@ defmodule Ecto.Query.PlannerTest do
601601
602602 test "plan: generates a cache key" do
603603 { _query , _cast_params , _dump_params , key } = plan ( from ( Post , [ ] ) )
604- assert key == [ :all , { :from , { "posts" , Post , 23210922 , "my_prefix" } , [ ] } ]
604+
605+ assert key == [ :all , { :from , { "posts" , Post , 132715331 , "my_prefix" } , [ ] } ]
605606
606607 query =
607608 from (
@@ -622,7 +623,6 @@ defmodule Ecto.Query.PlannerTest do
622623 )
623624
624625 { _query , _cast_params , _dump_params , key } = plan ( % { query | prefix: "foo" } )
625- <<< <<< < HEAD
626626
627627 assert key == [
628628 :all ,
@@ -634,19 +634,9 @@ defmodule Ecto.Query.PlannerTest do
634634 [
635635 { :inner , { "comments" , Comment , 38_292_156 , "world" } , true , [ "join hint" ] }
636636 ] } ,
637- { :from , { "posts" , Post , 50_009_106 , "hello" } , [ "hint" ] } ,
637+ { :from , { "posts" , Post , 132715331 , "hello" } , [ "hint" ] } ,
638638 { :select , 1 }
639639 ]
640- === === =
641- assert key == [ :all ,
642- { :lock , "foo" } ,
643- { :prefix , "foo" } ,
644- { :limit , { true , 1 } } ,
645- { :where , [ { :and , { :is_nil , [ ] , [ nil ] } } , { :or , { :is_nil , [ ] , [ nil ] } } ] } ,
646- { :join , [ { :inner , { "comments" , Comment , 38292156 , "world" } , true , [ "join hint" ] } ] } ,
647- { :from , { "posts" , Post , 23210922 , "hello" } , [ "hint" ] } ,
648- { :select , 1 } ]
649- >>> >>> > e779c5c7 ( Fix tests)
650640 end
651641
652642 test "plan: generates a cache key for in based on the adapter" do
@@ -966,7 +956,7 @@ defmodule Ecto.Query.PlannerTest do
966956 [
967957 :all ,
968958 { :aliases , % { post: 0 } } ,
969- { :from , { "posts" , Ecto.Query.PlannerTest.Post , 50_009_106 , "my_prefix" } , [ ] } ,
959+ { :from , { "posts" , Ecto.Query.PlannerTest.Post , 132715331 , "my_prefix" } , [ ] } ,
970960 { :select ,
971961 { { :%{} , [ ] ,
972962 [
0 commit comments