Skip to content

Commit dd735f1

Browse files
committed
chore: fix tests, I'm not sure how this worked because the tested
connection string was valid
1 parent 213d234 commit dd735f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ describeWithMongoDB(
6767
expect(content).toContain("Successfully connected");
6868
});
6969

70-
describe("when the arugment connection string is invalid", () => {
70+
describe("when the argument connection string is invalid", () => {
7171
it("returns error message", async () => {
7272
const response = await integration.mcpClient().callTool({
7373
name: "switch-connection",
7474
arguments: {
75-
connectionString: "mongodb://localhost:12345",
75+
connectionString: "mangobd://localhost:12345",
7676
},
7777
});
7878

@@ -125,7 +125,7 @@ describeWithMongoDB(
125125
it("returns error message", async () => {
126126
const response = await integration.mcpClient().callTool({
127127
name: "connect",
128-
arguments: { connectionString: "mongodb://localhost:12345" },
128+
arguments: { connectionString: "mangodb://localhost:12345" },
129129
});
130130
const content = getResponseContent(response.content);
131131
expect(content).toContain("The configured connection string is not valid.");

0 commit comments

Comments
 (0)