Updated test to reflect change in IndexManager constrcutor arguments
This commit is contained in:
parent
2e3d67fdc7
commit
ce5223f85d
2 changed files with 11 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ class IndexManager
|
|||
* @param array $indexesByName
|
||||
* @param string $defaultIndexName
|
||||
*/
|
||||
public function __construct(array $indexesByName, $defaultIndex)
|
||||
public function __construct(array $indexesByName, \Elastica_Index $defaultIndex)
|
||||
{
|
||||
$this->indexesByName = $indexesByName;
|
||||
$this->defaultIndexName = $defaultIndex->getName();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue