mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
FIX: Broken Acceptance test
This commit is contained in:
parent
39e1948174
commit
2820cf2b50
@ -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…
Reference in New Issue
Block a user