Skip to content

Commit 5cc18fc

Browse files
committed
fix typo
1 parent 142b568 commit 5cc18fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tools/atlas/create/createDBUser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class CreateDBUserTool extends AtlasToolBase {
8080
content: [
8181
{
8282
type: "text",
83-
text: `User "${username}" created sucessfully${shouldGeneratePassword ? ` with password: \`${password}\`` : ""}.`,
83+
text: `User "${username}" created successfully${shouldGeneratePassword ? ` with password: \`${password}\`` : ""}.`,
8484
},
8585
],
8686
};

tests/integration/tools/atlas/dbUsers.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describeWithAtlas("db users", (integration) => {
5454
});
5555
const elements = getResponseElements(response);
5656
expect(elements).toHaveLength(1);
57-
expect(elements[0].text).toContain("created sucessfully");
57+
expect(elements[0].text).toContain("created successfully");
5858
});
5959

6060
it("should create a database user with generated password", async () => {
@@ -75,7 +75,7 @@ describeWithAtlas("db users", (integration) => {
7575
});
7676
const elements = getResponseElements(response);
7777
expect(elements).toHaveLength(1);
78-
expect(elements[0].text).toContain("created sucessfully");
78+
expect(elements[0].text).toContain("created successfully");
7979
expect(elements[0].text).toContain("with password: `");
8080
});
8181
});

0 commit comments

Comments
 (0)