File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 3030#import " LPRequest.h"
3131#import < Leanplum/LPRequestSender.h>
3232#import < Leanplum/LPNetworkConstants.h>
33+ #import " LeanplumHelper.h"
3334
3435/* *
3536 * Expose private class methods
@@ -55,6 +56,7 @@ - (void)setUp {
5556
5657- (void )tearDown {
5758 [super tearDown ];
59+ [LeanplumHelper clean_up ];
5860}
5961
6062- (void )test_incrementDisabledCount {
@@ -148,6 +150,8 @@ - (void)test_sendAllCounts {
148150 id lpRequestSenderMock = OCMClassMock ([LPRequestSender class ]);
149151 OCMStub ([lpRequestSenderMock sendEventually: lpRequestMockVerified sync: [OCMArg any ]]);
150152 [lpRequestSenderMock sendEventually: lpRequestMockVerified sync: [OCMArg any ]];
153+ [lpRequestSenderMock stopMocking ];
154+ [lpRequestMock stopMocking ];
151155}
152156
153157@end
You can’t perform that action at this time.
0 commit comments