Skip to content

Commit

Permalink
Update impressions test
Browse files Browse the repository at this point in the history
  • Loading branch information
nmayorsplit committed Sep 4, 2023
1 parent eade9da commit 0039f94
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,9 @@ public void works() throws URISyntaxException {
ImpressionCounter impressionCounter = Mockito.mock(ImpressionCounter.class);
ImpressionObserver impressionObserver = new ImpressionObserver(200);

ProcessImpressionStrategy processImpressionStrategy = new ProcessImpressionDebug(true, impressionObserver);

ImpressionListener impressionListener = Mockito.mock(AsynchronousImpressionListener.class);
ProcessImpressionStrategy processImpressionStrategy = new ProcessImpressionDebug(false, impressionObserver);

ImpressionsManagerImpl treatmentLog = ImpressionsManagerImpl.instanceForTest(config, senderMock, TELEMETRY_STORAGE, storage, storage, processImpressionStrategy, impressionCounter, impressionListener);
ImpressionsManagerImpl treatmentLog = ImpressionsManagerImpl.instanceForTest(config, senderMock, TELEMETRY_STORAGE, storage, storage, processImpressionStrategy, impressionCounter, null);
treatmentLog.start();

KeyImpression ki1 = keyImpression("test1", "adil", "on", 1L, null);
Expand Down

0 comments on commit 0039f94

Please sign in to comment.