File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
test/Microsoft.OpenApi.Hidi.Tests/Services Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -175,20 +175,6 @@ public void InvokeShowCommand()
175
175
}
176
176
177
177
178
- [ Fact ]
179
- public void InvokeShowCommandWithoutOutput ( )
180
- {
181
- var rootCommand = Program . CreateRootCommand ( ) ;
182
- var args = new string [ ] { "show" , "-d" , ".\\ UtilityFiles\\ SampleOpenApi.yml" } ;
183
- var parseResult = rootCommand . Parse ( args ) ;
184
- var handler = rootCommand . Subcommands . Where ( c => c . Name == "show" ) . First ( ) . Handler ;
185
- var context = new InvocationContext ( parseResult ) ;
186
-
187
- handler . Invoke ( context ) ;
188
-
189
- var output = File . ReadAllText ( Path . Combine ( Path . GetTempPath ( ) , "apitree.html" ) ) ;
190
- Assert . Contains ( "graph LR" , output ) ;
191
- }
192
178
193
179
194
180
// Relatively useless test to keep the code coverage metrics happy
You can’t perform that action at this time.
0 commit comments