fix the build

This commit is contained in:
Arpit Jalan 2019-05-01 23:12:50 +05:30
parent b5ea50a154
commit 8bedb6a4a3
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ acceptance("New Message");
QUnit.test("accessing new-message route when logged out", async assert => {
await visit(
"/new-message?username=eviltrout&title=message%20title&body=message%20body"
"/new-message?username=charlie&title=message%20title&body=message%20body"
);
assert.ok(exists(".modal.login-modal"), "it shows the login modal");
@ -15,7 +15,7 @@ QUnit.test("accessing new-message route when logged in", async assert => {
Discourse.reset();
await visit(
"/new-message?username=eviltrout&title=message%20title&body=message%20body"
"/new-message?username=charlie&title=message%20title&body=message%20body"
);
assert.ok(exists(".composer-fields"), "it opens composer");
@ -37,7 +37,7 @@ QUnit.test("accessing new-message route when logged in", async assert => {
find(".users-input .item:eq(0)")
.text()
.trim(),
"eviltrout",
"charlie",
"it selects correct username"
);
});

View File

@ -150,7 +150,7 @@ export default {
{ action_type: 11, count: 20, id: null }
],
can_send_private_messages: true,
can_send_private_message_to_user: true,
can_send_private_message_to_user: false,
bio_excerpt:
'<p>Co-founder of Discourse. Previously, I created <a href="http://forumwarz.com">Forumwarz</a>. <a href="https://twitter.com/eviltrout">Follow me on Twitter</a>. I am <a class="mention" href="/u/eviltrout">@eviltrout</a>.</p>',
trust_level: 4,