We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c3abf1 commit 72ecea5Copy full SHA for 72ecea5
GoogleUtilities/Tests/Unit/Swizzler/GULAppDelegateSwizzlerTest.m
@@ -288,7 +288,8 @@ @implementation GULAppDelegateSwizzlerTest
288
289
- (void)setUp {
290
[super setUp];
291
- self.mockSharedApplication = OCMPartialMock([GULApplication sharedApplication]);
+ self.mockSharedApplication = OCMClassMock([GULApplication class]);
292
+ OCMStub([self.mockSharedApplication sharedApplication]).andReturn(self.mockSharedApplication);
293
}
294
295
- (void)tearDown {
0 commit comments