Skip to content

Commit

Permalink
fix request-state test relying on bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed Nov 17, 2019
1 parent 3e76c26 commit 28948d7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ if (REQUEST_SERVICE) {
data: {
type: 'person',
id: '1',
lid: '',
attributes: {
name: 'Scumbag Dale',
},
Expand Down Expand Up @@ -81,7 +80,6 @@ if (REQUEST_SERVICE) {

// Relying on sequential lids until identifiers land
let identifier = identifierCacheFor(store).getOrCreateRecordIdentifier({ type: 'person', id: '1' });
normalizedHash.data.lid = identifier.lid;
let request = requestService.getPendingRequestsForRecord(identifier)[0];

assert.equal(request.state, 'pending', 'request is pending');
Expand Down

0 comments on commit 28948d7

Please sign in to comment.