From b389277f0fd4b73b107126180af3962c3e5b40e7 Mon Sep 17 00:00:00 2001 From: Jonas Cosandey Date: Thu, 23 Jan 2025 16:57:29 +0100 Subject: [PATCH] test(:(): remove useless tests --- .../components/link-building-modal-test.js | 30 --------------- .../components/linked-models-test.js | 30 --------------- .../components/linked-projects-test.js | 30 --------------- .../components/login-modal-test.js | 30 --------------- .../components/project-nav-test.js | 30 --------------- .../components/search/result-table-test.js | 32 ---------------- .../search/result-table/head-test.js | 32 ---------------- .../search/result-table/head/header-test.js | 35 ------------------ .../search/result-table/row-test.js | 30 --------------- .../search/result-table/row/field-test.js | 37 ------------------- tests/integration/components/sub-nav-test.js | 30 --------------- tests/unit/controllers/application-test.js | 13 ------- tests/unit/controllers/building-test.js | 13 ------- tests/unit/controllers/project/form-test.js | 15 -------- .../project/linked-buildings-test.js | 15 -------- .../unit/controllers/search-building-test.js | 13 ------- tests/unit/controllers/search-project-test.js | 13 ------- tests/unit/models/gwr-link-test.js | 14 ------- tests/unit/routes/application-test.js | 12 ------ tests/unit/routes/building-test.js | 12 ------ tests/unit/routes/building/edit-test.js | 12 ------ .../routes/building/edit/entrance-test.js | 12 ------ .../building/edit/entrance/edit-test.js | 12 ------ .../routes/building/edit/entrance/new-test.js | 12 ------ .../routes/building/edit/entrances-test.js | 12 ------ tests/unit/routes/building/edit/index-test.js | 12 ------ tests/unit/routes/building/new-test.js | 12 ------ tests/unit/routes/global-landing-page-test.js | 12 ------ tests/unit/routes/project-test.js | 12 ------ tests/unit/routes/project/index-test.js | 11 ------ .../routes/project/linked-buildings-test.js | 12 ------ tests/unit/routes/search-building-test.js | 12 ------ tests/unit/routes/search-project-test.js | 12 ------ tests/unit/services/auth-fetch-test.js | 15 -------- tests/unit/services/building-entrance-test.js | 13 ------- tests/unit/services/building-test.js | 13 ------- tests/unit/services/config-test.js | 13 ------- .../services/construction-project-test.js | 13 ------- tests/unit/services/gwr-test.js | 13 ------- tests/unit/services/street-test.js | 13 ------- tests/unit/services/xml-test.js | 13 ------- 41 files changed, 727 deletions(-) delete mode 100644 tests/integration/components/link-building-modal-test.js delete mode 100644 tests/integration/components/linked-models-test.js delete mode 100644 tests/integration/components/linked-projects-test.js delete mode 100644 tests/integration/components/login-modal-test.js delete mode 100644 tests/integration/components/project-nav-test.js delete mode 100644 tests/integration/components/search/result-table-test.js delete mode 100644 tests/integration/components/search/result-table/head-test.js delete mode 100644 tests/integration/components/search/result-table/head/header-test.js delete mode 100644 tests/integration/components/search/result-table/row-test.js delete mode 100644 tests/integration/components/search/result-table/row/field-test.js delete mode 100644 tests/integration/components/sub-nav-test.js delete mode 100644 tests/unit/controllers/application-test.js delete mode 100644 tests/unit/controllers/building-test.js delete mode 100644 tests/unit/controllers/project/form-test.js delete mode 100644 tests/unit/controllers/project/linked-buildings-test.js delete mode 100644 tests/unit/controllers/search-building-test.js delete mode 100644 tests/unit/controllers/search-project-test.js delete mode 100644 tests/unit/models/gwr-link-test.js delete mode 100644 tests/unit/routes/application-test.js delete mode 100644 tests/unit/routes/building-test.js delete mode 100644 tests/unit/routes/building/edit-test.js delete mode 100644 tests/unit/routes/building/edit/entrance-test.js delete mode 100644 tests/unit/routes/building/edit/entrance/edit-test.js delete mode 100644 tests/unit/routes/building/edit/entrance/new-test.js delete mode 100644 tests/unit/routes/building/edit/entrances-test.js delete mode 100644 tests/unit/routes/building/edit/index-test.js delete mode 100644 tests/unit/routes/building/new-test.js delete mode 100644 tests/unit/routes/global-landing-page-test.js delete mode 100644 tests/unit/routes/project-test.js delete mode 100644 tests/unit/routes/project/index-test.js delete mode 100644 tests/unit/routes/project/linked-buildings-test.js delete mode 100644 tests/unit/routes/search-building-test.js delete mode 100644 tests/unit/routes/search-project-test.js delete mode 100644 tests/unit/services/auth-fetch-test.js delete mode 100644 tests/unit/services/building-entrance-test.js delete mode 100644 tests/unit/services/building-test.js delete mode 100644 tests/unit/services/config-test.js delete mode 100644 tests/unit/services/construction-project-test.js delete mode 100644 tests/unit/services/gwr-test.js delete mode 100644 tests/unit/services/street-test.js delete mode 100644 tests/unit/services/xml-test.js diff --git a/tests/integration/components/link-building-modal-test.js b/tests/integration/components/link-building-modal-test.js deleted file mode 100644 index 54908876..00000000 --- a/tests/integration/components/link-building-modal-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | link-building-modal", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); -}); diff --git a/tests/integration/components/linked-models-test.js b/tests/integration/components/linked-models-test.js deleted file mode 100644 index b8211eb1..00000000 --- a/tests/integration/components/linked-models-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | linked-models", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); -}); diff --git a/tests/integration/components/linked-projects-test.js b/tests/integration/components/linked-projects-test.js deleted file mode 100644 index b829b325..00000000 --- a/tests/integration/components/linked-projects-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | linked-projects", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); -}); diff --git a/tests/integration/components/login-modal-test.js b/tests/integration/components/login-modal-test.js deleted file mode 100644 index ade6a31b..00000000 --- a/tests/integration/components/login-modal-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | login-modal", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); -}); diff --git a/tests/integration/components/project-nav-test.js b/tests/integration/components/project-nav-test.js deleted file mode 100644 index 49c53879..00000000 --- a/tests/integration/components/project-nav-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | project-nav", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.dom(this.element).hasText(""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.dom(this.element).hasText("template block text"); - }); -}); diff --git a/tests/integration/components/search/result-table-test.js b/tests/integration/components/search/result-table-test.js deleted file mode 100644 index 5f65b4a1..00000000 --- a/tests/integration/components/search/result-table-test.js +++ /dev/null @@ -1,32 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | search/result-table", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - - assert.ok(false); - }); -}); diff --git a/tests/integration/components/search/result-table/head-test.js b/tests/integration/components/search/result-table/head-test.js deleted file mode 100644 index 1bff1dc3..00000000 --- a/tests/integration/components/search/result-table/head-test.js +++ /dev/null @@ -1,32 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | search/result-table/head", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - - assert.ok(false); - }); -}); diff --git a/tests/integration/components/search/result-table/head/header-test.js b/tests/integration/components/search/result-table/head/header-test.js deleted file mode 100644 index b8c16a3b..00000000 --- a/tests/integration/components/search/result-table/head/header-test.js +++ /dev/null @@ -1,35 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module( - "Integration | Component | search/result-table/head/header", - function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { - owner: this.engine, - }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); - }, -); diff --git a/tests/integration/components/search/result-table/row-test.js b/tests/integration/components/search/result-table/row-test.js deleted file mode 100644 index 850d732b..00000000 --- a/tests/integration/components/search/result-table/row-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | search/result-table/row", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); -}); diff --git a/tests/integration/components/search/result-table/row/field-test.js b/tests/integration/components/search/result-table/row/field-test.js deleted file mode 100644 index 8d0577e0..00000000 --- a/tests/integration/components/search/result-table/row/field-test.js +++ /dev/null @@ -1,37 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module( - "Integration | Component | search/result-table/row/field", - function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { - owner: this.engine, - }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - - assert.ok(false); - }); - }, -); diff --git a/tests/integration/components/sub-nav-test.js b/tests/integration/components/sub-nav-test.js deleted file mode 100644 index 7537153d..00000000 --- a/tests/integration/components/sub-nav-test.js +++ /dev/null @@ -1,30 +0,0 @@ -import { render } from "@ember/test-helpers"; -import { hbs } from "ember-cli-htmlbars"; -import { module, todo } from "qunit"; - -import { setupRenderingTest } from "dummy/tests/helpers"; - -module("Integration | Component | sub-nav", function (hooks) { - setupRenderingTest(hooks); - - todo("it renders", async function (assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs``, { owner: this.engine }); - - assert.equal(this.element.textContent.trim(), ""); - - // Template block usage: - await render( - hbs` - - template block text - - `, - { owner: this.engine }, - ); - - assert.equal(this.element.textContent.trim(), "template block text"); - }); -}); diff --git a/tests/unit/controllers/application-test.js b/tests/unit/controllers/application-test.js deleted file mode 100644 index e4abde4d..00000000 --- a/tests/unit/controllers/application-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Controller | application", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const controller = this.engine.lookup("controller:application"); - assert.ok(controller); - }); -}); diff --git a/tests/unit/controllers/building-test.js b/tests/unit/controllers/building-test.js deleted file mode 100644 index 280062f3..00000000 --- a/tests/unit/controllers/building-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Controller | building", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const controller = this.engine.lookup("controller:building"); - assert.ok(controller); - }); -}); diff --git a/tests/unit/controllers/project/form-test.js b/tests/unit/controllers/project/form-test.js deleted file mode 100644 index 5cc67228..00000000 --- a/tests/unit/controllers/project/form-test.js +++ /dev/null @@ -1,15 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; -import DataImportStub from "dummy/tests/helpers/data-import-stub"; - -module("Unit | Controller | project/form", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - this.owner.register("service:dataImport", DataImportStub); - const controller = this.engine.lookup("controller:project/form"); - assert.ok(controller); - }); -}); diff --git a/tests/unit/controllers/project/linked-buildings-test.js b/tests/unit/controllers/project/linked-buildings-test.js deleted file mode 100644 index e596ce9c..00000000 --- a/tests/unit/controllers/project/linked-buildings-test.js +++ /dev/null @@ -1,15 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Controller | project/linked-buildings", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const controller = this.engine.lookup( - "controller:project/linked-buildings", - ); - assert.ok(controller); - }); -}); diff --git a/tests/unit/controllers/search-building-test.js b/tests/unit/controllers/search-building-test.js deleted file mode 100644 index 03ebb64e..00000000 --- a/tests/unit/controllers/search-building-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Controller | search-building", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const controller = this.engine.lookup("controller:search-building"); - assert.ok(controller); - }); -}); diff --git a/tests/unit/controllers/search-project-test.js b/tests/unit/controllers/search-project-test.js deleted file mode 100644 index 549e6d83..00000000 --- a/tests/unit/controllers/search-project-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Controller | search-project", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const controller = this.engine.lookup("controller:search-project"); - assert.ok(controller); - }); -}); diff --git a/tests/unit/models/gwr-link-test.js b/tests/unit/models/gwr-link-test.js deleted file mode 100644 index 7aaefeba..00000000 --- a/tests/unit/models/gwr-link-test.js +++ /dev/null @@ -1,14 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Model | gwr link", function (hooks) { - setupTest(hooks); - - // Replace this with your real tests. - test("it exists", function (assert) { - const store = this.engine.lookup("service:store"); - const model = store.createRecord("gwr-link", {}); - assert.ok(model); - }); -}); diff --git a/tests/unit/routes/application-test.js b/tests/unit/routes/application-test.js deleted file mode 100644 index 90b7d851..00000000 --- a/tests/unit/routes/application-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | application", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:application"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building-test.js b/tests/unit/routes/building-test.js deleted file mode 100644 index 0726d1de..00000000 --- a/tests/unit/routes/building-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/edit-test.js b/tests/unit/routes/building/edit-test.js deleted file mode 100644 index daac1a29..00000000 --- a/tests/unit/routes/building/edit-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/edit", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/edit"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/edit/entrance-test.js b/tests/unit/routes/building/edit/entrance-test.js deleted file mode 100644 index 90308a2b..00000000 --- a/tests/unit/routes/building/edit/entrance-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/edit/entrance", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/edit/entrance"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/edit/entrance/edit-test.js b/tests/unit/routes/building/edit/entrance/edit-test.js deleted file mode 100644 index cb9ee480..00000000 --- a/tests/unit/routes/building/edit/entrance/edit-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/edit/entrance/edit", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/edit/entrance/edit"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/edit/entrance/new-test.js b/tests/unit/routes/building/edit/entrance/new-test.js deleted file mode 100644 index d4bcda03..00000000 --- a/tests/unit/routes/building/edit/entrance/new-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/edit/entrance/new", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/edit/entrance/new"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/edit/entrances-test.js b/tests/unit/routes/building/edit/entrances-test.js deleted file mode 100644 index 1438ee3a..00000000 --- a/tests/unit/routes/building/edit/entrances-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/edit/entrances", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/edit/entrances"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/edit/index-test.js b/tests/unit/routes/building/edit/index-test.js deleted file mode 100644 index f278db88..00000000 --- a/tests/unit/routes/building/edit/index-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/edit/index", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/edit/index"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/building/new-test.js b/tests/unit/routes/building/new-test.js deleted file mode 100644 index e0566dbc..00000000 --- a/tests/unit/routes/building/new-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | building/new", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:building/new"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/global-landing-page-test.js b/tests/unit/routes/global-landing-page-test.js deleted file mode 100644 index 5b49a206..00000000 --- a/tests/unit/routes/global-landing-page-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | global-landing-page", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:global-landing-page"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/project-test.js b/tests/unit/routes/project-test.js deleted file mode 100644 index 1cadc078..00000000 --- a/tests/unit/routes/project-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | project", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:project"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/project/index-test.js b/tests/unit/routes/project/index-test.js deleted file mode 100644 index fc83202c..00000000 --- a/tests/unit/routes/project/index-test.js +++ /dev/null @@ -1,11 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | project/index", function (hooks) { - setupTest(hooks); - test("it exists", function (assert) { - const route = this.engine.lookup("route:project/index"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/project/linked-buildings-test.js b/tests/unit/routes/project/linked-buildings-test.js deleted file mode 100644 index 903105b0..00000000 --- a/tests/unit/routes/project/linked-buildings-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | project/linked-buildings", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:project/linked-buildings"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/search-building-test.js b/tests/unit/routes/search-building-test.js deleted file mode 100644 index 3ef8168a..00000000 --- a/tests/unit/routes/search-building-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | search-building", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:search-building"); - assert.ok(route); - }); -}); diff --git a/tests/unit/routes/search-project-test.js b/tests/unit/routes/search-project-test.js deleted file mode 100644 index 82659bdb..00000000 --- a/tests/unit/routes/search-project-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Route | search-project", function (hooks) { - setupTest(hooks); - - test("it exists", function (assert) { - const route = this.engine.lookup("route:search-project"); - assert.ok(route); - }); -}); diff --git a/tests/unit/services/auth-fetch-test.js b/tests/unit/services/auth-fetch-test.js deleted file mode 100644 index f4f9b513..00000000 --- a/tests/unit/services/auth-fetch-test.js +++ /dev/null @@ -1,15 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; -import SessionStub from "dummy/tests/helpers/session-stub"; - -module("Unit | Service | auth-fetch", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - this.owner.register("service:session", SessionStub); - const service = this.engine.lookup("service:auth-fetch"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/building-entrance-test.js b/tests/unit/services/building-entrance-test.js deleted file mode 100644 index 6a66538f..00000000 --- a/tests/unit/services/building-entrance-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | building-entrance", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:building-entrance"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/building-test.js b/tests/unit/services/building-test.js deleted file mode 100644 index 09fbefbb..00000000 --- a/tests/unit/services/building-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | building", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:building"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/config-test.js b/tests/unit/services/config-test.js deleted file mode 100644 index f9e56464..00000000 --- a/tests/unit/services/config-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | config", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:config"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/construction-project-test.js b/tests/unit/services/construction-project-test.js deleted file mode 100644 index 526c248e..00000000 --- a/tests/unit/services/construction-project-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | construction-project", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:construction-project"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/gwr-test.js b/tests/unit/services/gwr-test.js deleted file mode 100644 index 933bc70a..00000000 --- a/tests/unit/services/gwr-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | gwr", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:gwr"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/street-test.js b/tests/unit/services/street-test.js deleted file mode 100644 index 70b9d1cf..00000000 --- a/tests/unit/services/street-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | street", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:street"); - assert.ok(service); - }); -}); diff --git a/tests/unit/services/xml-test.js b/tests/unit/services/xml-test.js deleted file mode 100644 index 9c89fb73..00000000 --- a/tests/unit/services/xml-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from "qunit"; - -import { setupTest } from "dummy/tests/helpers"; - -module("Unit | Service | xml", function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test("it exists", function (assert) { - const service = this.engine.lookup("service:xml"); - assert.ok(service); - }); -});