fix: commit tests

Signed-off-by: MohammadHasan Akbari <[email protected]>
This commit is contained in:
MohammadHasan Akbari
2024-11-27 07:39:46 +01:00
committed by Nicolas De loof
parent 9eaba55973
commit 1ff9b758d2
+9 -9
View File
@@ -38,11 +38,11 @@ func TestCommit(t *testing.T) {
projectName,
"commit",
"-a",
"\"John Hannibal Smith <[email protected]>\"",
"John Hannibal Smith <[email protected]>",
"-c",
"\"ENV DEBUG=true\"",
"ENV DEBUG=true",
"-m",
"\"sample commit\"",
"sample commit",
"service",
"service:latest",
)
@@ -66,11 +66,11 @@ func TestCommitWithReplicas(t *testing.T) {
projectName,
"commit",
"-a",
"\"John Hannibal Smith <[email protected]>\"",
"John Hannibal Smith <[email protected]>",
"-c",
"\"ENV DEBUG=true\"",
"ENV DEBUG=true",
"-m",
"\"sample commit\"",
"sample commit",
"--index=1",
"service-with-replicas",
"service-with-replicas:1",
@@ -81,11 +81,11 @@ func TestCommitWithReplicas(t *testing.T) {
projectName,
"commit",
"-a",
"\"John Hannibal Smith <[email protected]>\"",
"John Hannibal Smith <[email protected]>",
"-c",
"\"ENV DEBUG=true\"",
"ENV DEBUG=true",
"-m",
"\"sample commit\"",
"sample commit",
"--index=2",
"service-with-replicas",
"service-with-replicas:2",