mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
DEV: Rename variable to match coding style.
This commit is contained in:
parent
1b6f18396b
commit
3c65c3398a
@ -874,13 +874,13 @@ widgetTest("pm map", {
|
||||
widgetTest("post notice - with username", {
|
||||
template: '{{mount-widget widget="post" args=args}}',
|
||||
beforeEach() {
|
||||
const date_2d_ago = new Date();
|
||||
date_2d_ago.setDate(date_2d_ago.getDate() - 2);
|
||||
const twoDaysAgo = new Date();
|
||||
twoDaysAgo.setDate(twoDaysAgo.getDate() - 2);
|
||||
this.siteSettings.prioritize_username_in_ux = true;
|
||||
this.siteSettings.old_post_notice_days = 14;
|
||||
this.set("args", {
|
||||
postNoticeType: "returning",
|
||||
postNoticeTime: date_2d_ago,
|
||||
postNoticeTime: twoDaysAgo,
|
||||
username: "codinghorror",
|
||||
name: "Jeff",
|
||||
created_at: new Date()
|
||||
|
Loading…
Reference in New Issue
Block a user