diff --git a/app/assets/javascripts/discourse/tests/integration/components/select-kit/email-group-user-chooser-test.js b/app/assets/javascripts/discourse/tests/integration/components/select-kit/email-group-user-chooser-test.js index 363ac94ac64..127b6c8d574 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/select-kit/email-group-user-chooser-test.js +++ b/app/assets/javascripts/discourse/tests/integration/components/select-kit/email-group-user-chooser-test.js @@ -5,23 +5,6 @@ import { hbs } from "ember-cli-htmlbars"; import selectKit from "discourse/tests/helpers/select-kit-helper"; import { paste, query } from "discourse/tests/helpers/qunit-helpers"; -const DEFAULT_CONTENT = [ - { id: 1, name: "foo" }, - { id: 2, name: "bar" }, - { id: 3, name: "baz" }, -]; - -const setDefaultState = (ctx, options) => { - const properties = Object.assign( - { - content: DEFAULT_CONTENT, - value: null, - }, - options || {} - ); - ctx.setProperties(properties); -}; - module( "Integration | Component | select-kit/email-group-user-chooser", function (hooks) { @@ -32,15 +15,7 @@ module( }); test("pasting", async function (assert) { - setDefaultState(this); - - await render(hbs` - - `); + await render(hbs``); await this.subject.expand(); await paste(query(".filter-input"), "foo,bar");