summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLImageSourceTests.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/test/MGLImageSourceTests.m')
-rw-r--r--platform/darwin/test/MGLImageSourceTests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/test/MGLImageSourceTests.m b/platform/darwin/test/MGLImageSourceTests.m
index 3349a7463b..38fcd38709 100644
--- a/platform/darwin/test/MGLImageSourceTests.m
+++ b/platform/darwin/test/MGLImageSourceTests.m
@@ -12,7 +12,7 @@
- (void)testMGLImageSourceWithImageURL {
MGLCoordinateQuad quad = { { 80, 37}, { 81, 37}, { 81, 39}, { 80, 39}};
- MGLImageSource *source = [[MGLImageSource alloc] initWithIdentifier:@"source-id" coordinates:quad imageURL: [NSURL URLWithString:@"http://host/image.png"]];
+ MGLImageSource *source = [[MGLImageSource alloc] initWithIdentifier:@"source-id" coordinateQuad:quad URL:[NSURL URLWithString:@"http://host/image.png"]];
XCTAssertNotNil(source.URL);
XCTAssertEqualObjects(source.URL.absoluteString, @"http://host/image.png");
@@ -32,7 +32,7 @@
XCTAssertNotNil(image);
MGLCoordinateQuad quad = { { 80, 37}, { 81, 37}, { 81, 39}, { 80, 39}};
- MGLImageSource *source = [[MGLImageSource alloc] initWithIdentifier:@"source-id" coordinates:quad image:image];
+ MGLImageSource *source = [[MGLImageSource alloc] initWithIdentifier:@"source-id" coordinateQuad:quad image:image];
XCTAssertNotNil(source.image);
XCTAssertEqualObjects(source.image, image);