Skip to content

Commit

Permalink
Fix to stop mocking httpclient in teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
owlstronaut committed Dec 9, 2019
1 parent 27a54c5 commit 6faac0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AppCenter/AppCenterTests/MSAppCenterIngestionTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ @interface MSAppCenterIngestionTests : XCTestCase
@property(nonatomic) id deviceMock;
@property(nonatomic) id reachabilityMock;
@property(nonatomic) NetworkStatus currentNetworkStatus;
@property(nonatomic) MSHttpClient *httpClientMock;
@property(nonatomic) id httpClientMock;

@end

Expand Down Expand Up @@ -67,6 +67,7 @@ - (void)setUp {
- (void)tearDown {
[super tearDown];
[self.deviceMock stopMocking];
[self.httpClientMock stopMocking];
[self.reachabilityMock stopMocking];
[MSHttpTestUtil removeAllStubs];

Expand Down

0 comments on commit 6faac0c

Please sign in to comment.