Skip to content

Commit e1646a1

Browse files
committed
Fix failing test after figuring out the right way to run them all locally
1 parent d8b2cd2 commit e1646a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/OctoshiftCLI.Tests/ado2gh/Commands/RewirePipeline/RewirePipelineCommandTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void Should_Have_Options()
3131
{
3232
Assert.NotNull(_command);
3333
Assert.Equal("rewire-pipeline", _command.Name);
34-
Assert.Equal(8, _command.Options.Count);
34+
Assert.Equal(9, _command.Options.Count); // Updated from 8 to 9
3535

3636
TestHelpers.VerifyCommandOption(_command.Options, "ado-org", true);
3737
TestHelpers.VerifyCommandOption(_command.Options, "ado-team-project", true);
@@ -41,6 +41,7 @@ public void Should_Have_Options()
4141
TestHelpers.VerifyCommandOption(_command.Options, "service-connection-id", true);
4242
TestHelpers.VerifyCommandOption(_command.Options, "ado-pat", false);
4343
TestHelpers.VerifyCommandOption(_command.Options, "verbose", false);
44+
TestHelpers.VerifyCommandOption(_command.Options, "target-api-url", false); // Add check for new option
4445
}
4546

4647
[Fact]

0 commit comments

Comments
 (0)