Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyHuRadar committed Jan 19, 2025
1 parent 66ab55c commit 515bfd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RadarSDKTests/RadarSDKTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ - (void)test_Radar_searchPlaces_errorPermissions {
chains:@[@"walmart"]
categories:nil
groups:nil
countryCodes:nil
limit:100
completionHandler:^(RadarStatus status, CLLocation *_Nullable location, NSArray<RadarPlace *> *_Nullable places) {
XCTAssertEqual(status, RadarStatusErrorPermissions);
Expand All @@ -923,6 +924,7 @@ - (void)test_Radar_searchPlaces_errorLocation {
chains:@[@"walmart"]
categories:nil
groups:nil
countryCodes:nil
limit:100
completionHandler:^(RadarStatus status, CLLocation *_Nullable location, NSArray<RadarPlace *> *_Nullable places) {
XCTAssertEqual(status, RadarStatusErrorLocation);
Expand Down Expand Up @@ -954,6 +956,7 @@ - (void)test_Radar_searchPlaces_chains_success {
chains:@[@"walmart"]
categories:nil
groups:nil
countryCodes:nil
limit:100
completionHandler:^(RadarStatus status, CLLocation *_Nullable location, NSArray<RadarPlace *> *_Nullable places) {
XCTAssertEqual(status, RadarStatusSuccess);
Expand Down Expand Up @@ -988,6 +991,7 @@ - (void)test_Radar_searchPlaces_chainsAndMetadata_success {
chainMetadata:@{@"orderActive": @"true"}
categories:nil
groups:nil
countryCodes:nil
limit:100
completionHandler:^(RadarStatus status, CLLocation *_Nullable location, NSArray<RadarPlace *> *_Nullable places) {
XCTAssertEqual(status, RadarStatusSuccess);
Expand Down Expand Up @@ -1025,6 +1029,7 @@ - (void)test_Radar_searchPlacesNear_categories_success {
chains:nil
categories:@[@"restaurant"]
groups:nil
countryCodes:nil
limit:100
completionHandler:^(RadarStatus status, CLLocation *_Nullable location, NSArray<RadarPlace *> *_Nullable places) {
XCTAssertEqual(status, RadarStatusSuccess);
Expand Down

0 comments on commit 515bfd9

Please sign in to comment.