mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Broken Acceptance test
This commit is contained in:
parent
39e1948174
commit
2820cf2b50
1 changed files with 7 additions and 4 deletions
|
@ -5,7 +5,7 @@ acceptance("Account Created");
|
||||||
|
|
||||||
test("account created - message", assert => {
|
test("account created - message", assert => {
|
||||||
PreloadStore.store('accountCreated', {
|
PreloadStore.store('accountCreated', {
|
||||||
message: "Hello World"
|
message: "Hello World",
|
||||||
});
|
});
|
||||||
visit("/u/account-created");
|
visit("/u/account-created");
|
||||||
|
|
||||||
|
@ -24,7 +24,8 @@ test("account created - resend email", assert => {
|
||||||
PreloadStore.store('accountCreated', {
|
PreloadStore.store('accountCreated', {
|
||||||
message: "Hello World",
|
message: "Hello World",
|
||||||
username: 'eviltrout',
|
username: 'eviltrout',
|
||||||
email: 'eviltrout@example.com'
|
email: 'eviltrout@example.com',
|
||||||
|
show_controls: true
|
||||||
});
|
});
|
||||||
visit("/u/account-created");
|
visit("/u/account-created");
|
||||||
|
|
||||||
|
@ -50,7 +51,8 @@ test("account created - update email - cancel", assert => {
|
||||||
PreloadStore.store('accountCreated', {
|
PreloadStore.store('accountCreated', {
|
||||||
message: "Hello World",
|
message: "Hello World",
|
||||||
username: 'eviltrout',
|
username: 'eviltrout',
|
||||||
email: 'eviltrout@example.com'
|
email: 'eviltrout@example.com',
|
||||||
|
show_controls: true
|
||||||
});
|
});
|
||||||
visit("/u/account-created");
|
visit("/u/account-created");
|
||||||
|
|
||||||
|
@ -70,7 +72,8 @@ test("account created - update email - submit", assert => {
|
||||||
PreloadStore.store('accountCreated', {
|
PreloadStore.store('accountCreated', {
|
||||||
message: "Hello World",
|
message: "Hello World",
|
||||||
username: 'eviltrout',
|
username: 'eviltrout',
|
||||||
email: 'eviltrout@example.com'
|
email: 'eviltrout@example.com',
|
||||||
|
show_controls: true
|
||||||
});
|
});
|
||||||
visit("/u/account-created");
|
visit("/u/account-created");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue