feat: Truncate Old Name
This commit is contained in:
parent
18a979ea4e
commit
98a63e8e96
2 changed files with 7 additions and 4 deletions
|
|
@ -1025,7 +1025,7 @@ describe('RoleService', () => {
|
|||
|
||||
expect(clonedRole).toBeDefined();
|
||||
expect(clonedRole.id).not.toBe(role.id);
|
||||
expect(clonedRole.name).toBe(`${role.name} (`);
|
||||
expect(clonedRole.name.endsWith(' (cloned)')).toBeTruthy();
|
||||
expect(clonedRole.name.length).toBe(256);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue