Skip to content

Commit

Permalink
Fix: machine learning namespace tests.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Oct 25, 2024
1 parent 0cb84ce commit 4355df6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Namespaces/MachineLearningNamespaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function testCreatingConnector(): void

$transport->method('performRequest')
->with('POST', '/_plugins/_ml/connectors/_create', [], [
'foo' => 'bar',
'foo' => 'bar',
]);

$transport->method('resultOrFuture')
Expand Down Expand Up @@ -124,7 +124,7 @@ public function testDeleteConnector(): void
->willReturn([]);

(new MlNamespace($transport, $func))->deleteConnector([
'id' => 'foobar'
'connector_id' => 'foobar'
]);
}

Expand Down Expand Up @@ -323,7 +323,7 @@ public function testDeployModel(): void
->willReturn([]);

(new MlNamespace($transport, $func))->deployModel([
'id' => 'foobar',
'model_id' => 'foobar',
]);
}

Expand All @@ -343,7 +343,7 @@ public function testUnDeployModel(): void
->willReturn([]);

(new MlNamespace($transport, $func))->undeployModel([
'id' => 'foobar',
'model_id' => 'foobar',
]);
}

Expand Down

0 comments on commit 4355df6

Please sign in to comment.