File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Tests/Nest.Tests.Integration/Core/GetFieldMapping Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public void SpecialFields_AreInspectable()
111111 . SearchAnalyzer ( "default" )
112112 . StoreTermVectorPositions ( )
113113 )
114- . IndexField ( i=> i . Enabled ( false ) . Store ( ) )
114+ . IndexField ( i=> i . Enabled ( true ) . Store ( true ) )
115115 . SizeField ( i=> i . Enabled ( false ) . Store ( false ) )
116116 . IdField ( i => i
117117 . Index ( "not_analyzed" )
@@ -168,7 +168,8 @@ public void SpecialFields_AreInspectable()
168168
169169 var indexField = fieldMappingResponse . MappingFor < SpecialDto > ( "_index" ) as IndexFieldMapping ;
170170 indexField . Should ( ) . NotBeNull ( ) ;
171- indexField . Enabled . Should ( ) . BeFalse ( ) ;
171+ indexField . Enabled . Should ( ) . BeTrue ( ) ;
172+ indexField . Store . Should ( ) . BeTrue ( ) ;
172173
173174 var typeField = fieldMappingResponse . MappingFor < SpecialDto > ( "_type" ) as TypeFieldMapping ;
174175 typeField . Should ( ) . NotBeNull ( ) ;
You can’t perform that action at this time.
0 commit comments