Skip to content

Commit dc131b4

Browse files
committed
Fix test
1 parent 1fec903 commit dc131b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/SeqCli.EndToEnd/Node/NodeDemoteTestCase.cs

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

77
namespace SeqCli.EndToEnd.Node;
88

9-
[CliTestCase(MinimumApiVersion = "2021.3.6410")]
9+
[CliTestCase]
1010
public class NodeDemoteTestCase: ICliTestCase
1111
{
1212
public Task ExecuteAsync(SeqConnection connection, ILogger logger, CliCommandRunner runner)

test/SeqCli.EndToEnd/Node/NodeHealthTestCase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
namespace SeqCli.EndToEnd.Node;
88

9-
[CliTestCase(MinimumApiVersion = "2021.3.6410")]
9+
[CliTestCase]
1010
public class NodeHealthTestCase: ICliTestCase
1111
{
1212
public Task ExecuteAsync(SeqConnection connection, ILogger logger, CliCommandRunner runner)
1313
{
1414
var exit = runner.Exec("node health");
1515
Assert.Equal(0, exit);
16-
Assert.StartsWith("HTTP 1.1 200 OK", runner.LastRunProcess!.Output);
16+
Assert.StartsWith("{\"status\":", runner.LastRunProcess!.Output);
1717
return Task.CompletedTask;
1818
}
1919
}

test/SeqCli.EndToEnd/Node/NodeListTestCase.cs

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

77
namespace SeqCli.EndToEnd.Node;
88

9-
[CliTestCase(MinimumApiVersion = "2021.3.6410")]
9+
[CliTestCase]
1010
public class NodeListTestCase: ICliTestCase
1111
{
1212
public Task ExecuteAsync(SeqConnection connection, ILogger logger, CliCommandRunner runner)

0 commit comments

Comments
 (0)