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

Commit

Permalink
no unenrollment pings in studyEnded case
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmer committed Oct 15, 2021
1 parent b4e7a8b commit c3e13b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core-addon/unit/Core.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ describe('Core', function () {
await this.core._sendRunState(FAKE_STUDY_LIST, [FAKE_STUDY_ID]);

const unenrollmentPingMock = sinon.mock(rallyPings.studyUnenrollment);
unenrollmentPingMock.expects("submit").once();
unenrollmentPingMock.expects("submit").never();

// Mock the storage to provide a fake rally id.
const FAKE_UUID = "c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0";
Expand Down

0 comments on commit c3e13b7

Please sign in to comment.