Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge 5c4c0dc into c63c5bf
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Aug 21, 2017
2 parents c63c5bf + 5c4c0dc commit 9bd6b5d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions client/datasync-client/test/DataManagerTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ describe('Data Manager', function() {

const mockDataItem = {
name: 'mynewdataitem',
description: 'My New Data Item',
_localuid: mockRecordUid
description: 'My New Data Item'
};

const mockSyncAPIResponse = {
Expand Down Expand Up @@ -139,7 +138,6 @@ describe('Data Manager', function() {
const mockRecordUid = 'syncRecordUID';

const mockDataItem = {
_localuid: mockRecordUid,
name: 'mynewdataitem',
description: 'My New Data Item'
};
Expand All @@ -148,7 +146,7 @@ describe('Data Manager', function() {
uid: mockRecordUid
};

const expectedCreatedData = _.extend({ _localuid: mockSyncAPIResponse.uid }, mockDataItem);
const expectedCreatedData = _.extend(mockDataItem);

const mock$fh = {
doUpdate: sinon.stub().callsArgWith(3, mockSyncAPIResponse),
Expand All @@ -172,7 +170,6 @@ describe('Data Manager', function() {

const mockDataItem = {
id: 'dataitemid',
_localuid: mockRecordUid,
name: 'mynewdataitem',
description: 'My New Data Item'
};
Expand Down

0 comments on commit 9bd6b5d

Please sign in to comment.