@@ -32,7 +32,7 @@ defmodule CollectionsTest do
3232 % { schema: schema , alias_name: "foo_bar" , conn: conn , map_conn: map_conn }
3333 end
3434
35- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
35+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
3636 test "success: clone a collection schema" do
3737 schema = % {
3838 "name" => "vehicles" ,
@@ -58,7 +58,7 @@ defmodule CollectionsTest do
5858 Collections . create_collection ( payload , src_name: schema [ "name" ] )
5959 end
6060
61- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
61+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
6262 test "success: create a collection" , % { schema: schema , conn: conn , map_conn: map_conn } do
6363 name = schema [ "name" ]
6464
@@ -72,7 +72,7 @@ defmodule CollectionsTest do
7272 Collections . create_collection ( map_conn , schema , [ ] )
7373 end
7474
75- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
75+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
7676 test "success: list collections" , % { conn: conn , map_conn: map_conn } do
7777 assert { :ok , collections } = Collections . get_collections ( )
7878 assert length ( collections ) >= 0
@@ -85,7 +85,7 @@ defmodule CollectionsTest do
8585 assert { :ok , _ } = Collections . get_collections ( map_conn , limit: 1 )
8686 end
8787
88- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
88+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
8989 test "success: update an existing collection" , % { conn: conn , map_conn: map_conn } do
9090 name = "burgers"
9191
@@ -122,7 +122,7 @@ defmodule CollectionsTest do
122122 Collections . delete_collection ( name )
123123 end
124124
125- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
125+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
126126 test "success: list empty aliases" , % { conn: conn , map_conn: map_conn } do
127127 assert { :ok , % CollectionAliasesResponse { aliases: aliases } } = Collections . get_aliases ( )
128128 assert length ( aliases ) >= 0
@@ -133,7 +133,7 @@ defmodule CollectionsTest do
133133 assert { :ok , _ } = Collections . get_aliases ( map_conn , [ ] )
134134 end
135135
136- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
136+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
137137 test "success: delete a missing collection" , % { conn: conn , map_conn: map_conn } do
138138 assert Collections . delete_collection ( "non-existing-collection" ) ==
139139 { :error ,
@@ -148,7 +148,7 @@ defmodule CollectionsTest do
148148 assert { :error , % ApiResponse { message: _ } } = Collections . delete_collection ( map_conn , "xyz" , [ ] )
149149 end
150150
151- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
151+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
152152 test "success: upsert an alias" , % {
153153 schema: schema ,
154154 alias_name: alias_name ,
@@ -176,7 +176,7 @@ defmodule CollectionsTest do
176176 assert { :error , % ApiResponse { message: _ } } = Collections . delete_alias ( map_conn , alias_name , [ ] )
177177 end
178178
179- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
179+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
180180 test "error: get a non-existing alias" , % { conn: conn , map_conn: map_conn } do
181181 assert Collections . get_alias ( "non-existing-alias" ) ==
182182 { :error , % ApiResponse { message: "Not Found" } }
@@ -188,7 +188,7 @@ defmodule CollectionsTest do
188188 assert { :error , % ApiResponse { message: _ } } = Collections . get_alias ( map_conn , "xyz" , [ ] )
189189 end
190190
191- @ tag [ "27.1": true , "26 .0": true , "0.25.2 ": true ]
191+ @ tag [ "27.1": true , "27 .0": true , "26.0 ": true ]
192192 test "error: get a non-existing collection" , % { conn: conn , map_conn: map_conn } do
193193 assert Collections . get_collection ( "non-existing-collection" ) ==
194194 { :error , % ApiResponse { message: "Not Found" } }
0 commit comments