summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2020-12-08 09:29:16 -0500
committerFrank Elias <francois.elias@livio.io>2020-12-08 09:29:16 -0500
commit3966194e1d4c7c50126ee27d505a8eb6d5cac14f (patch)
tree896c084058928079a5242f04a845b6848592cf63
parent4b0df303f21bc1006c95fb73be87f48258b0ef04 (diff)
downloadsdl_ios-3966194e1d4c7c50126ee27d505a8eb6d5cac14f.tar.gz
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m2
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
index a153ba926..f7ea93fc8 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
@@ -517,7 +517,7 @@ describe(@"uploading / deleting single files with the file manager", ^{
expect(testFileNeedsUpload).to(beFalse());
});
- it(@"should not allow file to be uploaded when overwrite is set to true", ^{
+ it(@"should allow file to be uploaded when overwrite is set to true", ^{
artwork.overwrite = YES;
BOOL testFileNeedsUpload = [testFileManager fileNeedsUpload:artwork];
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
index c831d65ce..a8cbbeb47 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
@@ -62,7 +62,7 @@ describe(@"menu manager", ^{
testArtwork = [[SDLArtwork alloc] initWithData:[@"Test data" dataUsingEncoding:NSUTF8StringEncoding] name:@"some artwork name" fileExtension:@"png" persistent:NO];
testArtwork2 = [[SDLArtwork alloc] initWithData:[@"Test data 2" dataUsingEncoding:NSUTF8StringEncoding] name:@"some artwork name 2" fileExtension:@"png" persistent:NO];
testArtwork3 = [[SDLArtwork alloc] initWithData:[@"Test data 3" dataUsingEncoding:NSUTF8StringEncoding] name:@"some artwork name" fileExtension:@"png" persistent:NO];
- testArtwork3.overwrite = true;
+ testArtwork3.overwrite = YES;
textOnlyCell = [[SDLMenuCell alloc] initWithTitle:@"Test 1" icon:nil voiceCommands:nil handler:^(SDLTriggerSource _Nonnull triggerSource) {}];
textAndImageCell = [[SDLMenuCell alloc] initWithTitle:@"Test 2" icon:testArtwork voiceCommands:nil handler:^(SDLTriggerSource _Nonnull triggerSource) {}];