Skip to content

Commit 6ab94c6

Browse files
committed
removed warning
1 parent 907c314 commit 6ab94c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/google_maps_flutter/google_maps_flutter_ios/example/ios12/ios/RunnerTests/FLTTileProviderControllerTests.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ - (void)testCallChannelOnPlatformThread {
2424
XCTAssertTrue([[NSThread currentThread] isMainThread]);
2525
[expectation fulfill];
2626
});
27-
[controller requestTileForX:0 y:0 zoom:0 receiver:nil];
27+
id receiver = OCMProtocolMock(@protocol(GMSTileReceiver));
28+
[controller requestTileForX:0 y:0 zoom:0 receiver:receiver];
2829
[self waitForExpectations:@[ expectation ] timeout:10.0];
2930
}
3031

0 commit comments

Comments
 (0)