From 7ac7499c1785419a71a30b24d25313bf78f3c796 Mon Sep 17 00:00:00 2001 From: fer0n Date: Sun, 29 Sep 2024 21:58:21 +0200 Subject: [PATCH] fix tests; build 143 --- Unwatched.xcodeproj/project.pbxproj | 4 ++-- .../xcschemes/Unwatched - Release debug try.xcscheme | 11 +++++++++++ UnwatchedUITests/ExportableTests.swift | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Unwatched.xcodeproj/project.pbxproj b/Unwatched.xcodeproj/project.pbxproj index e2af3306..9c1a948e 100644 --- a/Unwatched.xcodeproj/project.pbxproj +++ b/Unwatched.xcodeproj/project.pbxproj @@ -2048,7 +2048,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Unwatched/Unwatched.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 142; + CURRENT_PROJECT_VERSION = 143; DEVELOPMENT_ASSET_PATHS = "\"Unwatched/Preview Content\""; DEVELOPMENT_TEAM = HU6B6E9383; ENABLE_HARDENED_RUNTIME = YES; @@ -2093,7 +2093,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Unwatched/Unwatched.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 142; + CURRENT_PROJECT_VERSION = 143; DEVELOPMENT_ASSET_PATHS = "\"Unwatched/Preview Content\""; DEVELOPMENT_TEAM = HU6B6E9383; ENABLE_HARDENED_RUNTIME = YES; diff --git a/Unwatched.xcodeproj/xcshareddata/xcschemes/Unwatched - Release debug try.xcscheme b/Unwatched.xcodeproj/xcshareddata/xcschemes/Unwatched - Release debug try.xcscheme index d70c2f4d..b1791b9c 100644 --- a/Unwatched.xcodeproj/xcshareddata/xcschemes/Unwatched - Release debug try.xcscheme +++ b/Unwatched.xcodeproj/xcshareddata/xcschemes/Unwatched - Release debug try.xcscheme @@ -39,6 +39,17 @@ BlueprintName = "UnwatchedUITests" ReferencedContainer = "container:Unwatched.xcodeproj"> + + + + + + + + diff --git a/UnwatchedUITests/ExportableTests.swift b/UnwatchedUITests/ExportableTests.swift index 22b165f5..6e43a20b 100644 --- a/UnwatchedUITests/ExportableTests.swift +++ b/UnwatchedUITests/ExportableTests.swift @@ -132,7 +132,7 @@ class ExportableTests: XCTestCase { ) ] - let placement = DefaultVideoPlacement(videoPlacement: .inbox, shortsPlacement: .show) + let placement = DefaultVideoPlacement(videoPlacement: .inbox, hideShortsEverywhere: false) await repo.handleNewVideosGetCount(sendableSub, videos, defaultPlacement: placement) try? await repo.modelContext.save() @@ -184,7 +184,7 @@ class ExportableTests: XCTestCase { // Videos Const.defaultVideoPlacement: VideoPlacement.queue.rawValue, - Const.shortsPlacement: ShortsPlacement.show.rawValue, + Const.hideShorts: false, Const.requireClearConfirmation: false, Const.showClearQueueButton: false, Const.showAddToQueueButton: true,