Skip to content

Commit 4db9a59

Browse files
committed
[camera_avfoundation] ignore non object arguments in videoMock
1 parent 94f332f commit 4db9a59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/camera/camera_avfoundation/example/ios/RunnerTests/FLTCamSampleBufferTests.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ - (void)testFirstAppendedSampleShouldBeVideo {
6767
sourcePixelBufferAttributes:OCMOCK_ANY])
6868
.andReturn(videoMock);
6969
OCMStub([videoMock appendPixelBuffer:[OCMArg anyPointer] withPresentationTime:kCMTimeZero])
70+
.ignoringNonObjectArgs()
7071
.andDo(^(NSInvocation *invocation) {
7172
writtenSamples = [writtenSamples stringByAppendingString:@"v"];
7273
});

0 commit comments

Comments
 (0)