2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Revert "FIX: Set default value for poll result field (#10044)"

This reverts commit 40de535224.

Sadly this appears to break the JS test suite
This commit is contained in:
Sam Saffron 2020-07-07 10:24:37 +10:00
parent 556f7dc9c0
commit 9075d5a9f5
No known key found for this signature in database
GPG key ID: B9606168D2FFD9F5
2 changed files with 0 additions and 6 deletions

View file

@ -320,11 +320,6 @@ test("staff_only option is not present for non-staff", function(assert) {
);
});
test("poll result is always by default", function(assert) {
const controller = this.subject();
assert.equal(controller.pollResult, "always");
});
test("staff_only option is present for staff", function(assert) {
const controller = this.subject();
controller.currentUser = { staff: true };