Skip to content

Commit 33b0dd5

Browse files
committed
Update test missed by the 🤖
1 parent a2e8ba1 commit 33b0dd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/OctoshiftCLI.Tests/Octoshift/Services/CodeScanningAlertServiceTests.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public async Task MigrateAnalyses_Skips_Analyses_With_Error_And_Logs_Warning()
348348
await _alertService.MigrateAnalyses(SOURCE_ORG, SOURCE_REPO, TARGET_ORG, TARGET_REPO, "main", false);
349349

350350
_mockOctoLogger.Verify(log => log.LogWarning($"Skipping analysis with Id {errorAnalysis.Id} which failed to process in the source repository: something went wrong"));
351-
_mockOctoLogger.Verify(log => log.LogWarning(" This error is non-fatal and will not affect your migrated code-scanning alerts."));
351+
_mockOctoLogger.Verify(log => log.LogWarning(" This error is non-fatal and will not affect your migrated code-scanning alerts."));
352352
_mockSourceGithubApi.Verify(x => x.GetSarifReport(SOURCE_ORG, SOURCE_REPO, errorAnalysis.Id), Times.Never);
353353
_mockTargetGithubApi.Verify(x => x.UploadSarifReport(TARGET_ORG, TARGET_REPO, "SARIF", validAnalysis.CommitSha, validAnalysis.Ref), Times.Once);
354354
}

0 commit comments

Comments
 (0)