Skip to content

Commit e8b2a88

Browse files
committed
fix(tests): modify the arg of commit from add to all
1 parent e1d9b6a commit e8b2a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/commands/test_commit_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,6 @@ def test_commit_command_with_all_option(config, mocker: MockFixture):
247247
commit_mock.return_value = cmd.Command("success", "", b"", b"", 0)
248248
success_mock = mocker.patch("commitizen.out.success")
249249
add_mock = mocker.patch("commitizen.git.add")
250-
commands.Commit(config, {"add": True})()
250+
commands.Commit(config, {"all": True})()
251251
add_mock.assert_called()
252252
success_mock.assert_called_once()

0 commit comments

Comments
 (0)