Skip to content

Commit

Permalink
Added relatedLinks back to checkTimeout scope
Browse files Browse the repository at this point in the history
  • Loading branch information
shriramshankar committed Dec 13, 2016
1 parent 695932e commit 2440d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions db/model/sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ module.exports = function sample(seq, dataTypes) {
'subjectId',
'aspectId',
'name',
'relatedLinks',
],
where: {
status: {
Expand Down
2 changes: 1 addition & 1 deletion tests/db/model/sample/timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ describe('db: sample: timeout: ', function() {
expect(samp.name).to.not.equal(undefined);
expect(samp.aspectId).to.not.equal(undefined);
expect(samp.subjectId).to.not.equal(undefined);
expect(samp.relatedLinks).to.not.equal(undefined);
/*
* the following sample fields should not be fetched in the
* checktimeout query
Expand All @@ -240,7 +241,6 @@ describe('db: sample: timeout: ', function() {
expect(samp.messageBody).to.equal(undefined);
expect(samp.messageCode).to.equal(undefined);
expect(samp.status).to.equal(undefined);
expect(samp.relatedLinks).to.equal(undefined);
expect(samp.createdAt).to.equal(undefined);
expect(samp.deletedAt).to.equal(undefined);
})
Expand Down

0 comments on commit 2440d01

Please sign in to comment.