summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
Diffstat (limited to 'integrations')
-rw-r--r--integrations/api_repo_file_create_test.go12
-rw-r--r--integrations/api_repo_file_update_test.go12
2 files changed, 12 insertions, 12 deletions
diff --git a/integrations/api_repo_file_create_test.go b/integrations/api_repo_file_create_test.go
index eb437edf03..53042b5d0a 100644
--- a/integrations/api_repo_file_create_test.go
+++ b/integrations/api_repo_file_create_test.go
@@ -30,12 +30,12 @@ func getCreateFileOptions() api.CreateFileOptions {
NewBranchName: "master",
Message: "Making this new file new/file.txt",
Author: api.Identity{
- Name: "John Doe",
- Email: "johndoe@example.com",
+ Name: "Anne Doe",
+ Email: "annedoe@example.com",
},
Committer: api.Identity{
- Name: "Jane Doe",
- Email: "janedoe@example.com",
+ Name: "John Doe",
+ Email: "johndoe@example.com",
},
},
Content: contentEncoded,
@@ -77,8 +77,8 @@ func getExpectedFileResponseForCreate(commitID, treePath string) *api.FileRespon
HTMLURL: setting.AppURL + "user2/repo1/commit/" + commitID,
Author: &api.CommitUser{
Identity: api.Identity{
- Name: "Jane Doe",
- Email: "janedoe@example.com",
+ Name: "Anne Doe",
+ Email: "annedoe@example.com",
},
},
Committer: &api.CommitUser{
diff --git a/integrations/api_repo_file_update_test.go b/integrations/api_repo_file_update_test.go
index 236cb8eb30..369e48d646 100644
--- a/integrations/api_repo_file_update_test.go
+++ b/integrations/api_repo_file_update_test.go
@@ -35,8 +35,8 @@ func getUpdateFileOptions() *api.UpdateFileOptions {
Email: "johndoe@example.com",
},
Committer: api.Identity{
- Name: "Jane Doe",
- Email: "janedoe@example.com",
+ Name: "Anne Doe",
+ Email: "annedoe@example.com",
},
},
SHA: "103ff9234cefeee5ec5361d22b49fbb04d385885",
@@ -80,14 +80,14 @@ func getExpectedFileResponseForUpdate(commitID, treePath string) *api.FileRespon
HTMLURL: setting.AppURL + "user2/repo1/commit/" + commitID,
Author: &api.CommitUser{
Identity: api.Identity{
- Name: "Jane Doe",
- Email: "janedoe@example.com",
+ Name: "John Doe",
+ Email: "johndoe@example.com",
},
},
Committer: &api.CommitUser{
Identity: api.Identity{
- Name: "John Doe",
- Email: "johndoe@example.com",
+ Name: "Anne Doe",
+ Email: "annedoe@example.com",
},
},
Message: "My update of README.md\n",