Skip to content

Commit

Permalink
Force Identity Controller tests to fail on viewer type
Browse files Browse the repository at this point in the history
	modified:   spec/services/identity/controllers/identity-item-controller-spec.js
	modified:   spec/services/identity/controllers/identity-list-controller-spec.js
  • Loading branch information
kixxauth committed Oct 27, 2016
1 parent d4a927e commit 84117eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 84117eb

Please sign in to comment.