Skip to content

Commit

Permalink
Fixed unanswered test case
Browse files Browse the repository at this point in the history
  • Loading branch information
katcday committed Oct 11, 2024
1 parent 49897d4 commit 2216c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ describe('Topic\'s', () => {
it('should unanswer topic', async () => {
await apiTopics.unanswer({ uid: adminUid }, { tids: [newTopic.tid], cid: categoryObj.cid });
const isAnswered = await topics.isAnswered(newTopic.tid);
assert(isAnswered);
assert(!isAnswered);
});

it('should unlock topic', async () => {
Expand Down

0 comments on commit 2216c0a

Please sign in to comment.