We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9acf177 commit e2695baCopy full SHA for e2695ba
src/Synapse/Synapse.Test/ScenarioTests/VulnerabilityAssessmentTests.ps1
@@ -187,7 +187,15 @@ function Test-VulnerabilityAssessmentScanRecordGetListTest
187
}
188
catch
189
{
190
- throw;
+ if ((Get-SynapseTestMode) -eq 'Playback')
191
+ {
192
+ # This command generated a scanId of DateTime.UtcNow.ToString("yyyyMMdd_HHmmss")
193
+ # So the recording will always fail
194
+ }
195
+ else
196
197
+ throw;
198
199
200
201
# Trigger scan as a Job with scan ID
0 commit comments