mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-09 17:50:39 +00:00
fix test
This commit is contained in:
parent
49276b9116
commit
6e1900505e
@ -36,6 +36,7 @@ func TestClone(t *testing.T) {
|
|||||||
RemoteURL: tt.clone,
|
RemoteURL: tt.clone,
|
||||||
CommitRef: tt.ref,
|
CommitRef: tt.ref,
|
||||||
CommitSha: tt.commit,
|
CommitSha: tt.commit,
|
||||||
|
Branch: "main",
|
||||||
},
|
},
|
||||||
Pipeline: Pipeline{
|
Pipeline: Pipeline{
|
||||||
Event: tt.event,
|
Event: tt.event,
|
||||||
@ -80,6 +81,7 @@ func TestCloneNonEmpty(t *testing.T) {
|
|||||||
RemoteURL: tt.clone,
|
RemoteURL: tt.clone,
|
||||||
CommitRef: tt.ref,
|
CommitRef: tt.ref,
|
||||||
CommitSha: tt.commit,
|
CommitSha: tt.commit,
|
||||||
|
Branch: "main",
|
||||||
},
|
},
|
||||||
Pipeline: Pipeline{
|
Pipeline: Pipeline{
|
||||||
Event: tt.event,
|
Event: tt.event,
|
||||||
|
Loading…
Reference in New Issue
Block a user