Skip to content

Commit

Permalink
Removed unecessary test settings
Browse files Browse the repository at this point in the history
Signed-off-by: NicoleYarroch <[email protected]>
  • Loading branch information
NicoleYarroch committed Jun 3, 2021
1 parent 9e19208 commit ae58436
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions SmartDeviceLinkTests/DevAPISpecs/SDLPreloadChoicesOperationSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,6 @@ @interface SDLChoiceCell()

describe(@"if a choice item is removed", ^{
it(@"should be removed if the removal is attempted while the operation is pending", ^{
SDLTextField *primaryTextField = [[SDLTextField alloc] init];
primaryTextField.name = SDLTextFieldNameMenuName;
windowCapability.textFields = @[primaryTextField];

testOp = [[SDLPreloadChoicesOperation alloc] initWithConnectionManager:testConnectionManager fileManager:testFileManager displayName:testDisplayName windowCapability:windowCapability isVROptional:NO cellsToPreload:testCells updateCompletionHandler:^(NSArray<NSNumber *> * _Nullable failedChoiceUploadIDs) {}];
[testOp removeChoicesFromUpload:[NSSet setWithArray:@[testCell1]]];
[testOp start];
Expand Down Expand Up @@ -379,10 +375,6 @@ @interface SDLChoiceCell()

context(@"when a bad response comes back", ^{
it(@"should add the choiceID of the failed choice item to the failedChoiceUploadIDs array", ^{
SDLTextField *primaryTextField = [[SDLTextField alloc] init];
primaryTextField.name = SDLTextFieldNameMenuName;
windowCapability.textFields = @[primaryTextField];

testOp = [[SDLPreloadChoicesOperation alloc] initWithConnectionManager:testConnectionManager fileManager:testFileManager displayName:testDisplayName windowCapability:windowCapability isVROptional:NO cellsToPreload:testCells updateCompletionHandler:^(NSArray<NSNumber *> * _Nullable failedChoiceUploadIDs) {}];
[testOp start];

Expand All @@ -403,10 +395,6 @@ @interface SDLChoiceCell()

context(@"when only good responses comes back", ^{
it(@"should leave the failedChoiceUploadIDs array empty", ^{
SDLTextField *primaryTextField = [[SDLTextField alloc] init];
primaryTextField.name = SDLTextFieldNameMenuName;
windowCapability.textFields = @[primaryTextField];

testOp = [[SDLPreloadChoicesOperation alloc] initWithConnectionManager:testConnectionManager fileManager:testFileManager displayName:testDisplayName windowCapability:windowCapability isVROptional:NO cellsToPreload:testCells updateCompletionHandler:^(NSArray<NSNumber *> * _Nullable failedChoiceUploadIDs) {}];
[testOp start];

Expand Down

0 comments on commit ae58436

Please sign in to comment.