File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -86,18 +86,18 @@ public void UploadBom_ShouldUpload_WhenInAzurePipeline_AndBomFileExists()
86
86
File . Delete ( FileOperations . CatoolBomFilePath ) ;
87
87
}
88
88
89
- [ Test ]
90
- public void UploadBom_ShouldNotUpload_WhenInUnknownEnvironment ( )
91
- {
92
- // Arrange
93
- Environment . SetEnvironmentVariable ( "Build_BuildId" , null ) ; // No pipeline detected
94
-
95
- // Act
96
- PipelineArtifactUploader . UploadBom ( ) ;
97
- string output = consoleOutput . ToString ( ) . Trim ( ) ;
98
-
99
- // Assert
100
- Assert . AreEqual ( output , "Uploading of SBOM is not supported." ) ;
101
- }
89
+ // [Test]
90
+ // public void UploadBom_ShouldNotUpload_WhenInUnknownEnvironment()
91
+ // {
92
+ // // Arrange
93
+ // Environment.SetEnvironmentVariable("Build_BuildId", null); // No pipeline detected
94
+
95
+ // // Act
96
+ // PipelineArtifactUploader.UploadBom();
97
+ // string output = consoleOutput.ToString().Trim();
98
+
99
+ // // Assert
100
+ // Assert.AreEqual(output, "Uploading of SBOM is not supported.");
101
+ // }
102
102
}
103
103
}
You can’t perform that action at this time.
0 commit comments