mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
FIX: Broken test, also typoed property
This commit is contained in:
@ -55,7 +55,7 @@ export function transformBasicPost(post) {
|
|||||||
reviewableScorePendingCount: post.reviewable_score_pending_count,
|
reviewableScorePendingCount: post.reviewable_score_pending_count,
|
||||||
version: post.version,
|
version: post.version,
|
||||||
canRecoverTopic: false,
|
canRecoverTopic: false,
|
||||||
canDeletedTopic: false,
|
canDeleteTopic: false,
|
||||||
canViewEditHistory: post.can_view_edit_history,
|
canViewEditHistory: post.can_view_edit_history,
|
||||||
canWiki: post.can_wiki,
|
canWiki: post.can_wiki,
|
||||||
showLike: false,
|
showLike: false,
|
||||||
|
@ -302,8 +302,7 @@ widgetTest(
|
|||||||
beforeEach() {
|
beforeEach() {
|
||||||
this.set("args", {
|
this.set("args", {
|
||||||
canDeleteTopic: false,
|
canDeleteTopic: false,
|
||||||
yours: true,
|
showFlagDelete: true
|
||||||
firstPost: true
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user