Skip to content

Commit 569603b

Browse files
committed
Fix bulk operations OIS test
1 parent 735d032 commit 569603b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Tests/Nest.Tests.Unit/Core/Bulk/BulkTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ public void BulkOperations_ObjectInitializer()
5959
{ new BulkUpdateOperation<ElasticsearchProject, object>(new ElasticsearchProject { Id = 3})
6060
{
6161
VersionType = VersionType.External,
62-
Doc = new { name = "NEST"}
62+
Doc = new { name = "NEST"},
63+
ScriptFile = "myfile",
64+
ScriptId = "myscript",
65+
Lang = "groovy"
6366
}},
6467
}
6568
});

0 commit comments

Comments
 (0)