diff --git a/composer.json b/composer.json index fd61575..9c94d67 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ ], "require": { "php": "^7.1.3", - "elasticsearch/elasticsearch": "^7.0 !=7.4.0", + "elasticsearch/elasticsearch": ">=7.0 <7.4.0", "laravel/scout": "^7.0" }, "require-dev": { diff --git a/tests/Dependencies/IndexConfigurator.php b/tests/Dependencies/IndexConfigurator.php index 3518c1e..b2836f1 100644 --- a/tests/Dependencies/IndexConfigurator.php +++ b/tests/Dependencies/IndexConfigurator.php @@ -15,11 +15,11 @@ public function mockIndexConfigurator(array $params = []) $name = $params['name'] ?? 'test'; $methods = array_merge($params['methods'] ?? [], [ - 'getName', - 'getSettings', - 'getDefaultMapping', - 'getWriteAlias', - ]); + 'getName', + 'getSettings', + 'getDefaultMapping', + 'getWriteAlias', + ]); $mock = $this->getMockBuilder(ElasticIndexConfigurator::class) ->setMethods($methods)->getMock();