We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8f9b6 commit b2b8d6cCopy full SHA for b2b8d6c
src/Tests/Reproduce/GithubIssue2173.cs
@@ -5,15 +5,24 @@
5
using System.Text;
6
using System.Threading.Tasks;
7
using Tests.Framework;
8
+using Tests.Framework.Integration;
9
using Tests.Framework.MockData;
10
+using Xunit;
11
12
namespace Tests.Reproduce
13
{
14
+ [Collection(IntegrationContext.Indexing)]
15
public class GithubIssue2173
16
17
+ private readonly IndexingCluster _cluster;
18
+ public GithubIssue2173(IndexingCluster cluster)
19
+ {
20
+ _cluster = cluster;
21
+ }
22
+
23
[I] public void UpdateByQueryWithInvalidScript()
24
- var client = TestClient.GetClient();
25
+ var client = _cluster.Client();
26
var response = client.UpdateByQuery<Project>(typeof(Project), typeof(Project), u => u
27
.Script("invalid groovy")
28
);
0 commit comments