diff --git a/tests/Integration/SettingsTest.php b/tests/Integration/SettingsTest.php index ea6bd74ce..aa39c0cc2 100644 --- a/tests/Integration/SettingsTest.php +++ b/tests/Integration/SettingsTest.php @@ -36,7 +36,7 @@ public function testSettingsWithReplicas() { $replica1 = $this->safeName('settings-mgmt_REPLICA'); $index = static::getClient()->initIndex(static::$indexes['main']); - $replica = static::getClient()->initIndex(static::$indexes['replica1']); + $replica = static::getClient()->initIndex($replica1); $settingsWithReplicas = array_merge($this->settings, array('replicas' => array($replica1)));