mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
fix username spelling from userName
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
aa8455a079
commit
d33cfa4541
23 changed files with 89 additions and 91 deletions
|
@ -136,7 +136,7 @@ describe('History', () => {
|
|||
const userEntries = await historyService.getEntriesByUser(user);
|
||||
expect(userEntries.length).toEqual(1);
|
||||
expect(userEntries[0].note.aliases).toEqual(note2.aliases);
|
||||
expect(userEntries[0].user.userName).toEqual(user.userName);
|
||||
expect(userEntries[0].user.username).toEqual(user.username);
|
||||
expect(userEntries[0].pinStatus).toEqual(pinStatus);
|
||||
expect(userEntries[0].updatedAt).toEqual(lastVisited);
|
||||
});
|
||||
|
@ -184,8 +184,8 @@ describe('History', () => {
|
|||
const historyEntries = await historyService.getEntriesByUser(user);
|
||||
expect(historyEntries).toHaveLength(1);
|
||||
expect(historyEntries[0].note.aliases).toEqual(prevEntry.note.aliases);
|
||||
expect(historyEntries[0].user.userName).toEqual(
|
||||
prevEntry.user.userName,
|
||||
expect(historyEntries[0].user.username).toEqual(
|
||||
prevEntry.user.username,
|
||||
);
|
||||
expect(historyEntries[0].pinStatus).toEqual(prevEntry.pinStatus);
|
||||
expect(historyEntries[0].updatedAt).toEqual(prevEntry.updatedAt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue