summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2020-12-03 09:33:23 -0500
committerFrank Elias <francois.elias@livio.io>2020-12-03 09:33:23 -0500
commit003eb96fc3b825c7bec023686986e20172cf0023 (patch)
treebfae53b8287783edae354b225d710978b7d2c490
parent85feab359c62729aa046ae66ea4b635b60f35c6b (diff)
downloadsdl_ios-003eb96fc3b825c7bec023686986e20172cf0023.tar.gz
Test fixes
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
index 3e74499f5..a153ba926 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
@@ -491,8 +491,8 @@ describe(@"uploading / deleting single files with the file manager", ^{
context(@"when artwork is dynamic", ^{
beforeEach(^{
+ testUIImage = [FileManagerSpecHelper imagesForCount:1].firstObject;
expectedArtworkName = testInitialFileNames.firstObject;
-
artwork = [SDLArtwork artworkWithImage:testUIImage name:expectedArtworkName asImageFormat:SDLArtworkImageFormatPNG];
});
@@ -505,8 +505,6 @@ describe(@"uploading / deleting single files with the file manager", ^{
context(@"when artwork is previously uploaded", ^{
beforeEach(^{
- testUIImage = [FileManagerSpecHelper imagesForCount:1].firstObject;
-
testFileManager.uploadedEphemeralFileNames = [NSMutableSet setWithArray:testInitialFileNames];
testFileManager.mutableRemoteFileNames = [NSMutableSet setWithArray:testInitialFileNames];
[testFileManager.stateMachine setToState:SDLFileManagerStateReady fromOldState:SDLFileManagerStateShutdown callEnterTransition:NO];