mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 12:40:40 +08:00
FIX: Broken test, also typoed property
This commit is contained in:
parent
5e89714f77
commit
c4fa20d644
|
@ -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
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user