Skip to content

Commit ea91933

Browse files
Xiao75896453Lee-W
authored andcommitted
fix(tests): modify the arg of commit from add to all
1 parent 2177a67 commit ea91933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/commands/test_commit_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,6 @@ def test_commit_command_with_all_option(config, mocker: MockFixture):
273273
commit_mock.return_value = cmd.Command("success", "", b"", b"", 0)
274274
success_mock = mocker.patch("commitizen.out.success")
275275
add_mock = mocker.patch("commitizen.git.add")
276-
commands.Commit(config, {"add": True})()
276+
commands.Commit(config, {"all": True})()
277277
add_mock.assert_called()
278278
success_mock.assert_called_once()

0 commit comments

Comments
 (0)