From 52bb5de25a7014682aa34431150e2ea10ae2d8ec Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Wed, 7 Sep 2022 10:31:39 -0400 Subject: [PATCH] Changelog added and unused tests removed --- .changelog/14408.txt | 3 +++ ui/tests/unit/adapters/service-test.js | 12 ---------- .../controllers/jobs/job/services-test.js | 12 ---------- .../jobs/job/services/index-test.js | 12 ---------- .../jobs/job/services/service-test.js | 12 ---------- .../routes/jobs/job/services/index-test.js | 11 --------- .../routes/jobs/job/services/service-test.js | 11 --------- ui/tests/unit/serializers/service-test.js | 23 ------------------- 8 files changed, 3 insertions(+), 93 deletions(-) create mode 100644 .changelog/14408.txt delete mode 100644 ui/tests/unit/adapters/service-test.js delete mode 100644 ui/tests/unit/controllers/jobs/job/services-test.js delete mode 100644 ui/tests/unit/controllers/jobs/job/services/index-test.js delete mode 100644 ui/tests/unit/controllers/jobs/job/services/service-test.js delete mode 100644 ui/tests/unit/routes/jobs/job/services/index-test.js delete mode 100644 ui/tests/unit/routes/jobs/job/services/service-test.js delete mode 100644 ui/tests/unit/serializers/service-test.js diff --git a/.changelog/14408.txt b/.changelog/14408.txt new file mode 100644 index 000000000..e56b7238c --- /dev/null +++ b/.changelog/14408.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: add service discovery, along with health checks, to job and allocation routes +``` diff --git a/ui/tests/unit/adapters/service-test.js b/ui/tests/unit/adapters/service-test.js deleted file mode 100644 index 546125fbc..000000000 --- a/ui/tests/unit/adapters/service-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Adapter | service', function (hooks) { - setupTest(hooks); - - // Replace this with your real tests. - test('it exists', function (assert) { - let adapter = this.owner.lookup('adapter:service'); - assert.ok(adapter); - }); -}); diff --git a/ui/tests/unit/controllers/jobs/job/services-test.js b/ui/tests/unit/controllers/jobs/job/services-test.js deleted file mode 100644 index d2c4a6a5e..000000000 --- a/ui/tests/unit/controllers/jobs/job/services-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Controller | jobs/job/services', function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test('it exists', function (assert) { - let controller = this.owner.lookup('controller:jobs/job/services'); - assert.ok(controller); - }); -}); diff --git a/ui/tests/unit/controllers/jobs/job/services/index-test.js b/ui/tests/unit/controllers/jobs/job/services/index-test.js deleted file mode 100644 index 4626d98b5..000000000 --- a/ui/tests/unit/controllers/jobs/job/services/index-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Controller | jobs/job/services/index', function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test('it exists', function (assert) { - let controller = this.owner.lookup('controller:jobs/job/services/index'); - assert.ok(controller); - }); -}); diff --git a/ui/tests/unit/controllers/jobs/job/services/service-test.js b/ui/tests/unit/controllers/jobs/job/services/service-test.js deleted file mode 100644 index 2f91af57e..000000000 --- a/ui/tests/unit/controllers/jobs/job/services/service-test.js +++ /dev/null @@ -1,12 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Controller | jobs/job/services/service', function (hooks) { - setupTest(hooks); - - // TODO: Replace this with your real tests. - test('it exists', function (assert) { - let controller = this.owner.lookup('controller:jobs/job/services/service'); - assert.ok(controller); - }); -}); diff --git a/ui/tests/unit/routes/jobs/job/services/index-test.js b/ui/tests/unit/routes/jobs/job/services/index-test.js deleted file mode 100644 index a86fc3839..000000000 --- a/ui/tests/unit/routes/jobs/job/services/index-test.js +++ /dev/null @@ -1,11 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Route | jobs/job/services/index', function (hooks) { - setupTest(hooks); - - test('it exists', function (assert) { - let route = this.owner.lookup('route:jobs/job/services/index'); - assert.ok(route); - }); -}); diff --git a/ui/tests/unit/routes/jobs/job/services/service-test.js b/ui/tests/unit/routes/jobs/job/services/service-test.js deleted file mode 100644 index 69b3d6102..000000000 --- a/ui/tests/unit/routes/jobs/job/services/service-test.js +++ /dev/null @@ -1,11 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Route | jobs/job/services/service', function (hooks) { - setupTest(hooks); - - test('it exists', function (assert) { - let route = this.owner.lookup('route:jobs/job/services/service'); - assert.ok(route); - }); -}); diff --git a/ui/tests/unit/serializers/service-test.js b/ui/tests/unit/serializers/service-test.js deleted file mode 100644 index cbf608049..000000000 --- a/ui/tests/unit/serializers/service-test.js +++ /dev/null @@ -1,23 +0,0 @@ -import { module, test } from 'qunit'; -import { setupTest } from 'ember-qunit'; - -module('Unit | Serializer | service', function (hooks) { - setupTest(hooks); - - // Replace this with your real tests. - test('it exists', function (assert) { - let store = this.owner.lookup('service:store'); - let serializer = store.serializerFor('service'); - - assert.ok(serializer); - }); - - test('it serializes records', function (assert) { - let store = this.owner.lookup('service:store'); - let record = store.createRecord('service', {}); - - let serializedRecord = record.serialize(); - - assert.ok(serializedRecord); - }); -});