Skip to content

Commit ac80a9c

Browse files
committed
correct unit test
1 parent fa45e6f commit ac80a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/common/roles.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe("getDefaultRoleFromConfig", () => {
8585
it("should return the correct role for a read-write config with update disabled", () => {
8686
const role = getDefaultRoleFromConfig(readWriteConfigWithUpdateDisabled);
8787
expect(role).toEqual({
88-
roleName: "readAnyDatabase",
88+
roleName: "readWriteAnyDatabase",
8989
databaseName: "admin",
9090
});
9191
});

0 commit comments

Comments
 (0)