From 84117eb78d01dfa26ee9d864ad225cf508970761 Mon Sep 17 00:00:00 2001 From: Kristoffer Walker Date: Thu, 27 Oct 2016 06:28:12 -0400 Subject: [PATCH] Force Identity Controller tests to fail on viewer type modified: spec/services/identity/controllers/identity-item-controller-spec.js modified: spec/services/identity/controllers/identity-list-controller-spec.js --- .../identity/controllers/identity-item-controller-spec.js | 4 +++- .../identity/controllers/identity-list-controller-spec.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/spec/services/identity/controllers/identity-item-controller-spec.js b/spec/services/identity/controllers/identity-item-controller-spec.js index aad2c4e..ad9c685 100644 --- a/spec/services/identity/controllers/identity-item-controller-spec.js +++ b/spec/services/identity/controllers/identity-item-controller-spec.js @@ -8,7 +8,9 @@ const _ = require('lodash'); const IdentityItemController = require('../../../../lib/services/identity/controllers/identity-item-controller'); describe('Identity Item Controller', function () { - const TYPES = Object.freeze(['platform', 'viewer', 'cat', 'horse']); + // TODO: Undo this @kixxauth + // const TYPES = Object.freeze(['platform', 'viewer', 'cat', 'horse']); + const TYPES = Object.freeze(['viewer']); const type = _.sample(TYPES); diff --git a/spec/services/identity/controllers/identity-list-controller-spec.js b/spec/services/identity/controllers/identity-list-controller-spec.js index d761c11..4eb6388 100644 --- a/spec/services/identity/controllers/identity-list-controller-spec.js +++ b/spec/services/identity/controllers/identity-list-controller-spec.js @@ -9,7 +9,9 @@ const uuid = require('node-uuid'); const IdentityListController = require('../../../../lib/services/identity/controllers/identity-list-controller'); describe('Identity List Controller', function () { - const TYPES = Object.freeze(['platform', 'viewer', 'cat', 'horse']); + // TODO: Undo this @kixxauth + // const TYPES = Object.freeze(['platform', 'viewer', 'cat', 'horse']); + const TYPES = Object.freeze(['viewer']); const type = _.sample(TYPES); let bus; let handler;