Skip to content

Commit c2c987d

Browse files
author
Vikas Agarwal
committed
Fixing old unit test, it should not have worked in dev env as well, but strange enough it works there but not on local (which is correct)
1 parent 3687a4a commit c2c987d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/projectMembers/update.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe('Project members update', () => {
267267
resJson.isPrimary.should.be.false;
268268
resJson.updatedBy.should.equal(40051332);
269269
deleteSpy.should.have.been.calledOnce;
270-
server.services.pubsub.publish.calledWith('project.member.removed').should.be.true;
270+
server.services.pubsub.publish.calledWith('project.member.updated').should.be.true;
271271
done();
272272
}
273273
});

0 commit comments

Comments
 (0)