update tests and fixture
This commit is contained in:
2
test/fixtures/elasticsearch.js
vendored
2
test/fixtures/elasticsearch.js
vendored
@@ -32,7 +32,7 @@ Client.prototype.get = function (params = {}, source = {}) {
|
|||||||
|
|
||||||
const _source = Object.assign({
|
const _source = Object.assign({
|
||||||
jobtype: 'jobtype',
|
jobtype: 'jobtype',
|
||||||
created_by: null,
|
created_by: false,
|
||||||
payload: {
|
payload: {
|
||||||
id: 'sample-job-1',
|
id: 'sample-job-1',
|
||||||
now: 'Mon Apr 25 2016 14:13:04 GMT-0700 (MST)'
|
now: 'Mon Apr 25 2016 14:13:04 GMT-0700 (MST)'
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ const Job = module;
|
|||||||
const maxPriority = 20;
|
const maxPriority = 20;
|
||||||
const minPriority = -20;
|
const minPriority = -20;
|
||||||
const defaultPriority = 10;
|
const defaultPriority = 10;
|
||||||
const defaultCreatedBy = null;
|
const defaultCreatedBy = false;
|
||||||
|
|
||||||
describe('Job Class', function () {
|
describe('Job Class', function () {
|
||||||
let client;
|
let client;
|
||||||
|
|||||||
Reference in New Issue
Block a user