Skip to content

Commit 18c27bb

Browse files
committed
:chore: Remove duplicated test case (#2446)
1 parent d396483 commit 18c27bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/lib/utils/authorship.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,11 @@ describe('Logged-in user id', () => {
135135
const testCases = [
136136
{ isPublished: true, userId: adminId, authorId: adminId },
137137
{ isPublished: true, userId: adminId, authorId: userId1 },
138+
{ isPublished: true, userId: adminId, authorId: userId2 },
138139
{ isPublished: true, userId: userId1, authorId: adminId },
139140
{ isPublished: true, userId: userId1, authorId: userId1 },
140141
{ isPublished: true, userId: userId2, authorId: userId1 },
141142
{ isPublished: true, userId: userId1, authorId: userId2 },
142-
{ isPublished: true, userId: adminId, authorId: userId1 },
143-
{ isPublished: true, userId: adminId, authorId: userId2 },
144143
];
145144
runTests('canRead', testCases, ({ isPublished, userId, authorId }: AuthorshipForRead) => {
146145
expect(canRead(isPublished, userId, authorId)).toBe(true);

0 commit comments

Comments
 (0)