Skip to content

Commit 6cbbf03

Browse files
committed
Make tests build
1 parent 7989014 commit 6cbbf03

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/SeqCli/Config/SeqCliConnectionConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace SeqCli.Config;
2222

23-
public class SeqCliConnectionConfig
23+
class SeqCliConnectionConfig
2424
{
2525
const string ProtectedDataPrefix = "pd.";
2626

test/SeqCli.Tests/Cli/CommandLineHostTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public async Task CommandLineHostPicksCorrectCommand()
2727
new Lazy<Command>(() => new ActionCommand(() => executed.Add("test2"))),
2828
new CommandMetadata {Name = "test2", HelpText = "help"})
2929
};
30-
var commandLineHost = new CommandLineHost(availableCommands, new StoragePathFeature());
30+
var commandLineHost = new CommandLineHost(availableCommands);
3131
await commandLineHost.Run(["test"],new LoggingLevelSwitch());
3232

3333
Assert.Equal("test", executed.Single());
@@ -43,7 +43,7 @@ public async Task PrereleaseCommandsAreIgnoredWithoutFlag()
4343
new Lazy<Command>(() => new ActionCommand(() => executed.Add("test"))),
4444
new CommandMetadata {Name = "test", HelpText = "help", IsPreview = true}),
4545
};
46-
var commandLineHost = new CommandLineHost(availableCommands, new StoragePathFeature());
46+
var commandLineHost = new CommandLineHost(availableCommands);
4747
var exit = await commandLineHost.Run(["test"],new LoggingLevelSwitch());
4848
Assert.Equal(1, exit);
4949
Assert.Empty(executed);
@@ -67,7 +67,7 @@ public async Task WhenMoreThanOneSubcommandAndTheUserRunsWithSubcommandEnsurePic
6767
new Lazy<Command>(() => new ActionCommand(() => executed.Add("test-subcommand2"))),
6868
new CommandMetadata {Name = "test", SubCommand = "subcommand2", HelpText = "help"})
6969
};
70-
var commandLineHost = new CommandLineHost(availableCommands, new StoragePathFeature());
70+
var commandLineHost = new CommandLineHost(availableCommands);
7171
await commandLineHost.Run(["test", "subcommand2"], new LoggingLevelSwitch());
7272

7373
Assert.Equal("test-subcommand2", executed.First());
@@ -86,7 +86,7 @@ public async Task VerboseOptionSetsLoggingLevelToInformation()
8686
new CommandMetadata {Name = "test", HelpText = "help"})
8787
};
8888

89-
var commandLineHost = new CommandLineHost(availableCommands, new StoragePathFeature());
89+
var commandLineHost = new CommandLineHost(availableCommands);
9090

9191
await commandLineHost.Run(["test", "--verbose"], levelSwitch);
9292

0 commit comments

Comments
 (0)