Skip to content

Commit c182c61

Browse files
chore: fix the unusable tool test case
1 parent 4c56dae commit c182c61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integration/tools/mongodb/mongodbTool.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ class UnusableVoyageTool extends MongoDBToolBase {
7171
protected argsShape = {};
7272

7373
override verifyAllowed(): boolean {
74-
if (this.config.voyageApiKey.trim()) {
75-
return super.verifyAllowed();
76-
}
7774
return false;
7875
}
76+
7977
public async execute(): Promise<CallToolResult> {
8078
await this.ensureConnected();
8179
return { content: [{ type: "text", text: "Something" }] };

0 commit comments

Comments
 (0)