File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -29,28 +29,28 @@ func TestCommitRepoAction(t *testing.T) {
29
29
}{
30
30
{
31
31
userID : 2 ,
32
- repositoryID : 2 ,
32
+ repositoryID : 16 ,
33
33
commitRepoActionOptions : CommitRepoActionOptions {
34
34
RefFullName : "refName" ,
35
35
OldCommitID : "oldCommitID" ,
36
36
NewCommitID : "newCommitID" ,
37
37
Commits : & models.PushCommits {
38
38
Commits : []* models.PushCommit {
39
39
{
40
- Sha1 : "abcdef1 " ,
40
+ Sha1 : "69554a6 " ,
41
41
CommitterEmail : "user2@example.com" ,
42
- CommitterName : "User Two " ,
43
- AuthorEmail : "user4 @example.com" ,
44
- AuthorName : "User Four " ,
45
- Message : "message1 " ,
42
+ CommitterName : "User2 " ,
43
+ AuthorEmail : "user2 @example.com" ,
44
+ AuthorName : "User2 " ,
45
+ Message : "not signed commit " ,
46
46
},
47
47
{
48
- Sha1 : "abcdef2 " ,
48
+ Sha1 : "27566bd " ,
49
49
CommitterEmail : "user2@example.com" ,
50
- CommitterName : "User Two " ,
50
+ CommitterName : "User2 " ,
51
51
AuthorEmail : "user2@example.com" ,
52
- AuthorName : "User Two " ,
53
- Message : "message2 " ,
52
+ AuthorName : "User2 " ,
53
+ Message : "good signed commit (with not yet validated email) " ,
54
54
},
55
55
},
56
56
Len : 2 ,
You can’t perform that action at this time.
0 commit comments