Skip to content

Commit 0b5f8a5

Browse files
committed
Update Test
1 parent 3a446b7 commit 0b5f8a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/git-auto-commit.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ cat_github_output() {
259259
}
260260

261261
@test "It applies commit user and author settings" {
262-
INPUT_COMMIT_USER_NAME="A Single Test"
262+
INPUT_COMMIT_USER_NAME="Custom User Name"
263263
INPUT_COMMIT_USER_EMAIL="[email protected]"
264264
INPUT_COMMIT_AUTHOR="A Single Test <[email protected]>"
265265

@@ -269,7 +269,7 @@ cat_github_output() {
269269

270270
assert_success
271271

272-
assert_line "INPUT_COMMIT_USER_NAME: A Single Test"
272+
assert_line "INPUT_COMMIT_USER_NAME: Custom User Name"
273273
assert_line "INPUT_COMMIT_USER_EMAIL: [email protected]"
274274
assert_line "INPUT_COMMIT_AUTHOR: A Single Test <[email protected]>"
275275
assert_line "::debug::Push commit to remote branch ${FAKE_DEFAULT_BRANCH}"
@@ -282,7 +282,7 @@ cat_github_output() {
282282
assert_output --partial "A Single Test"
283283

284284
run git log -1 --pretty=format:'%cn'
285-
assert_output --partial "A Single Test"
285+
assert_output --partial "Custom User Name"
286286

287287
run git log -1 --pretty=format:'%ce'
288288
assert_output --partial "[email protected]"

0 commit comments

Comments
 (0)