Skip to content

Commit af01e33

Browse files
committed
fixed failing unit tests after splitting specialfields into interfaces
1 parent 12881ad commit af01e33

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Tests/Nest.Tests.Unit/Core/Map/SourceField/SourceFieldSerializesFully.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"_source": {
44
"enabled": false,
55
"compress": true,
6-
"compress_treshold": "200b",
6+
"compress_threshold": "200b",
77
"includes": [
88
"path2.*"
99
],

src/Tests/Nest.Tests.Unit/Core/Map/TimestampField/TimestampFieldTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public void TimestampFieldUsingExpression()
1313
var result = this._client.Map<ElasticsearchProject>(m => m
1414
.TimestampField(a => a
1515
.Path(p => p.Name)
16-
.Enabled()
16+
.Enabled(false)
1717
)
1818
);
1919
this.JsonEquals(result.ConnectionStatus.Request, MethodInfo.GetCurrentMethod());

src/Tests/Nest.Tests.Unit/Core/Map/TtlField/TtlFieldTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public void TtlFieldSerializes()
1212
{
1313
var result = this._client.Map<ElasticsearchProject>(m => m
1414
.TtlField(t => t
15-
.Enable(false)
15+
.Enable()
1616
.Default("1d")
1717
)
1818
);

0 commit comments

Comments
 (0)