Skip to content

Commit 3c92f7c

Browse files
committed
minor fix: rename test
1 parent c84caf1 commit 3c92f7c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit/common/roles.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ describe("getDefaultRoleFromConfig", () => {
4242
});
4343
});
4444

45-
// loop with each disabled tool
4645
for (const tool of ["create", "update", "delete", "metadata"]) {
47-
it(`should return the correct role for a read-write config with ${tool} disabled`, () => {
48-
const config = { ...readWriteConfig, disabledTools: [tool] };
46+
it(`should return the correct role for a config with ${tool} disabled`, () => {
47+
const config = { ...defaultConfig, disabledTools: [tool] };
4948
const role = getDefaultRoleFromConfig(config);
5049
expect(role).toEqual({
5150
roleName: "readAnyDatabase",

0 commit comments

Comments
 (0)