diff --git a/tests/Namespaces/MachineLearningNamespaceTest.php b/tests/Namespaces/MachineLearningNamespaceTest.php index 5101983c..bb5c1237 100644 --- a/tests/Namespaces/MachineLearningNamespaceTest.php +++ b/tests/Namespaces/MachineLearningNamespaceTest.php @@ -45,7 +45,7 @@ public function testCreatingConnector(): void $transport->method('performRequest') ->with('POST', '/_plugins/_ml/connectors/_create', [], [ - 'foo' => 'bar', + 'foo' => 'bar', ]); $transport->method('resultOrFuture') @@ -124,7 +124,7 @@ public function testDeleteConnector(): void ->willReturn([]); (new MlNamespace($transport, $func))->deleteConnector([ - 'id' => 'foobar' + 'connector_id' => 'foobar' ]); } @@ -323,7 +323,7 @@ public function testDeployModel(): void ->willReturn([]); (new MlNamespace($transport, $func))->deployModel([ - 'id' => 'foobar', + 'model_id' => 'foobar', ]); } @@ -343,7 +343,7 @@ public function testUnDeployModel(): void ->willReturn([]); (new MlNamespace($transport, $func))->undeployModel([ - 'id' => 'foobar', + 'model_id' => 'foobar', ]); }