Skip to content

Commit c50bef3

Browse files
committed
fixed test to be quirksmode resistant'
1 parent 5644ed2 commit c50bef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Nest.Tests.Unit/BigBadUrlUnitTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public void TestAllTheUrls()
182182
Do("GET", "/_scripts/lang/id", c => c.GetScript(s => s.Lang("lang").Id("id")));
183183
Do("DELETE", "/_scripts/lang/id", c => c.DeleteScript(s => s.Lang("lang").Id("id")));
184184

185-
Do("GET", "/mydefaultindex/doc/_search/exists?q=field:term", c => c.SearchExists<Doc>(s => s.QueryString("field:term")));
185+
Do("GET", "/mydefaultindex/doc/_search/exists?q=term", c => c.SearchExists<Doc>(s => s.QueryString("term")));
186186
Do("GET", "/mydefaultindex/doc/_search/exists?source=%7B%7D", c => c.SearchExists<Doc>(s=>s.Source("{}")));
187187
Do("GET", "/mydefaultindex/doc/_search/exists", c => c.SearchExists<Doc>(s=>s));
188188
Do("POST", "/mydefaultindex/doc/_search/exists", c => c.SearchExists<Doc>(s=>s.Query(q=>q.MatchAll())));

0 commit comments

Comments
 (0)