Skip to content

Bump Azure.Identity from 1.13.1 to 1.17.1 - #16

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/src/Azure.Identity-1.17.1
Closed

Bump Azure.Identity from 1.13.1 to 1.17.1#16
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/src/Azure.Identity-1.17.1

Bump Azure.Identity from 1.13.1 to 1.17.1

50f163d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Test Results succeeded Dec 8, 2025 in 0s

83 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/PhotoSync.IntegrationTests/TestResults/integration-test-results.trx 9✅ 33s
tests/PhotoSync.Tests/TestResults/test-results.trx 74✅ 16s

✅ tests/PhotoSync.IntegrationTests/TestResults/integration-test-results.trx

9 tests were completed in 33s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PhotoSync.IntegrationTests.StateManagerIntegrationTests 9✅ 810ms

✅ PhotoSync.IntegrationTests.StateManagerIntegrationTests

✅ CleanupOldRecordsAsync_CustomRetentionPeriod_RespectsParameter
✅ CleanupOldRecordsAsync_RemovesOldRecords_KeepsRecentOnes
✅ LoadProcessedFilesAsync_EmptyTable_ReturnsEmptyHashSet
✅ SaveProcessedFilesAsync_CalledMultipleTimes_AccumulatesFiles
✅ SaveProcessedFilesAsync_DuplicateFileIds_HandlesGracefully
✅ SaveProcessedFilesAsync_LargeBatch_HandlesCorrectly
✅ SaveProcessedFilesAsync_MultipleFiles_PersistsAllToStorage
✅ SaveProcessedFilesAsync_SingleFile_PersistsToStorage
✅ StateManager_RealWorkflow_SaveLoadAndCleanup

✅ tests/PhotoSync.Tests/TestResults/test-results.trx

74 tests were completed in 16s with 74 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PhotoSync.Tests.ConfigurationValidatorTests 18✅ 79ms
PhotoSync.Tests.PhotoSyncFunctionTests 13✅ 162ms
PhotoSync.Tests.PhotoSyncServiceTests 30✅ 165ms
PhotoSync.Tests.StateManagerTests 13✅ 13s

✅ PhotoSync.Tests.ConfigurationValidatorTests

✅ Configuration_DestinationShouldHaveDestinationFolder
✅ Configuration_ShouldHaveThreeAccounts
✅ Configuration_SourceAccountsShouldHaveSourceFolder
✅ ValidateAllConfigurationsAsync_WithValidSetup_ReturnsTrue
✅ ValidateConfiguration_WithInvalidCredentials_ReturnsFalse(invalidValue: "")
✅ ValidateConfiguration_WithInvalidCredentials_ReturnsFalse(invalidValue: "your-client-id")
✅ ValidateConfiguration_WithInvalidCredentials_ReturnsFalse(invalidValue: "your-tenant-id")
✅ ValidateConfiguration_WithInvalidCredentials_ReturnsFalse(invalidValue: null)
✅ ValidateCredentials_WithVariousCombinations_ValidatesCorrectly(clientId: "", tenantId: "def456", clientSecret: "ghi789", shouldBeValid: False)
✅ ValidateCredentials_WithVariousCombinations_ValidatesCorrectly(clientId: "abc123", tenantId: "", clientSecret: "ghi789", shouldBeValid: False)
✅ ValidateCredentials_WithVariousCombinations_ValidatesCorrectly(clientId: "abc123", tenantId: "def456", clientSecret: "", shouldBeValid: False)
✅ ValidateCredentials_WithVariousCombinations_ValidatesCorrectly(clientId: "abc123", tenantId: "def456", clientSecret: "ghi789", shouldBeValid: True)
✅ ValidateCredentials_WithVariousCombinations_ValidatesCorrectly(clientId: null, tenantId: "def456", clientSecret: "ghi789", shouldBeValid: False)
✅ ValidateFolderPath_WithDifferentSlashes_ValidatesCorrectly(folderPath: "/Pictures/Photos", shouldContainBackslash: False)
✅ ValidateFolderPath_WithDifferentSlashes_ValidatesCorrectly(folderPath: "\\Pictures\\Photos", shouldContainBackslash: True)
✅ ValidateFolderPath_WithDifferentSlashes_ValidatesCorrectly(folderPath: "Pictures/Photos", shouldContainBackslash: False)
✅ ValidateFolderPath_WithLeadingSlash_ShouldWarn
✅ ValidateFolderPath_WithoutLeadingSlash_IsPreferred

✅ PhotoSync.Tests.PhotoSyncFunctionTests

✅ FunctionAttribute_HasCorrectName
✅ LoggerFactory_CreatesTypedLogger
✅ PhotoSyncFunction_Constructor_CreatesLogger
✅ PhotoSyncFunction_Constructor_RequiresLoggerFactory
✅ PhotoSyncFunction_Constructor_RequiresPhotoSyncService
✅ Run_CallsPhotoSyncService
✅ Run_LogsCompletionMessage
✅ Run_LogsStartMessage
✅ Run_WhenServiceThrows_LogsError
✅ Run_WithNullScheduleStatus_DoesNotLogNextSchedule
✅ Run_WithScheduleStatus_LogsNextSchedule
✅ TimerTriggerAttribute_HasCorrectSchedule
✅ TimerTriggerSchedule_IsDaily2AM(expectedSchedule: "0 0 2 * * *")

✅ PhotoSync.Tests.PhotoSyncServiceTests

✅ FileId_Construction_CombinesClientIdAndPhotoId
✅ FileSize_Threshold_DeterminesUploadMethod(fileSize: 1048576, shouldUseChunkedUpload: False)
✅ FileSize_Threshold_DeterminesUploadMethod(fileSize: 10485760, shouldUseChunkedUpload: True)
✅ FileSize_Threshold_DeterminesUploadMethod(fileSize: 4194304, shouldUseChunkedUpload: False)
✅ FileSize_Threshold_DeterminesUploadMethod(fileSize: 5242880, shouldUseChunkedUpload: True)
✅ GenerateFileName_FallsBackToOriginalNameWhenNoExif
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".cr2", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".heic", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".heif", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".jpeg", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".jpg", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".nef", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".pdf", isValid: False)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".png", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".raw", isValid: True)
✅ PhotoExtensions_ValidatesCorrectFormats(extension: ".txt", isValid: False)
✅ PhotoSyncService_Configuration_Destination_HasRequiredKeys
✅ PhotoSyncService_Configuration_Source_HasRequiredKeys
✅ PhotoSyncService_Constructor_RequiresConfiguration
✅ PhotoSyncService_Constructor_RequiresGraphClientFactory
✅ PhotoSyncService_Constructor_RequiresLogger
✅ PhotoSyncService_Constructor_RequiresStateManager
✅ PhotoSyncService_Constructor_SucceedsWithValidParameters
✅ TryParseFileNameDate_ExtractsDateFromFileName(fileName: "2023-12-25-14-30-22.jpg")
✅ TryParseFileNameDate_ExtractsDateFromFileName(fileName: "20231225_143022.jpg")
✅ TryParseFileNameDate_ExtractsDateFromFileName(fileName: "IMG_20231225_143022.jpg")
✅ TryParseFileNameDate_ReturnsNullForInvalidPattern(fileName: "IMG.jpg")
✅ TryParseFileNameDate_ReturnsNullForInvalidPattern(fileName: "random_photo.jpg")
✅ TryParseFileNameDate_ReturnsNullForInvalidPattern(fileName: "vacation.png")
✅ UploadPath_Construction_CombinesFolderAndFileName

✅ PhotoSync.Tests.StateManagerTests

✅ StateManager_BatchSize_Limit
✅ StateManager_CleanupOldRecords_CutoffDateCalculation
✅ StateManager_CleanupOldRecords_DefaultDaysToKeep
✅ StateManager_Configuration_Key
✅ StateManager_Constants_PartitionKey
✅ StateManager_Constants_TableName
✅ StateManager_Constructor_CreatesInstance
✅ StateManager_Constructor_WithEmptyConnectionString_ThrowsException
✅ StateManager_Constructor_WithNullConnectionString_ThrowsException
✅ StateManager_Constructor_WithValidConnectionString_ReadsConfiguration
✅ StateManager_ProcessedDate_UsesUtcTime
✅ StateManager_RequiresConfiguration
✅ StateManager_RequiresLogger