FIX: Broken test, also typoed property

This commit is contained in:
Robin Ward 2019-05-30 14:27:28 -04:00
parent 5e89714f77
commit c4fa20d644
2 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

@ -302,8 +302,7 @@ widgetTest(
beforeEach() { beforeEach() {
this.set("args", { this.set("args", {
canDeleteTopic: false, canDeleteTopic: false,
yours: true, showFlagDelete: true
firstPost: true
}); });
}, },