diff --git a/toolkit/components/telemetry/tests/unit/test_TelemetryPing.js b/toolkit/components/telemetry/tests/unit/test_TelemetryPing.js index 983e62ac8615..e24914ab2d1b 100644 --- a/toolkit/components/telemetry/tests/unit/test_TelemetryPing.js +++ b/toolkit/components/telemetry/tests/unit/test_TelemetryPing.js @@ -145,8 +145,8 @@ function checkPayloadInfo(payload, reason) { function checkPersistedHistograms(request, response) { let payload = decodeRequestPayload(request); - checkPayloadInfo(payload, "saved-session"); httpserver.registerPathHandler(PATH, checkHistograms); + checkPayloadInfo(payload, "saved-session"); } function checkHistograms(request, response) {