Skip to content

Commit 732788a

Browse files
committed
Fixed assertions on restore index settings test
1 parent 1e9e9aa commit 732788a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Tests/Nest.Tests.Integration/Core/Repository/RestoreTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ public void SnapshotRestore_IndexSettings()
132132

133133
var indexSettingsResponse = this.Client.GetIndexSettings(descriptor => descriptor.Index(_restoredIndexName));
134134
indexSettingsResponse.IsValid.Should().BeTrue();
135-
indexSettingsResponse.IndexSettings.Settings[UpdatableSettings.RefreshInterval].Should().Be("123s");
136-
indexSettingsResponse.IndexSettings.Settings[UpdatableSettings.BlocksWrite].Should().BeNull();
135+
indexSettingsResponse.IndexSettings.Settings["refresh_interval"].Should().Be("123s");
137136
}
138137

139138
[Test]

0 commit comments

Comments
 (0)