diff --git a/server/instance_cloud_oauth_migration_test.go b/server/instance_cloud_oauth_migration_test.go index 7f7f335c8..7174328c8 100644 --- a/server/instance_cloud_oauth_migration_test.go +++ b/server/instance_cloud_oauth_migration_test.go @@ -68,7 +68,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: nil, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudInstanceType, @@ -128,7 +127,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: nil, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudInstanceType, @@ -166,7 +164,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: nil, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudInstanceType, @@ -211,7 +208,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: &oauth2.Token{RefreshToken: "somerefreshtoken", AccessToken: "someaccesstoken"}, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudOAuthInstanceType, @@ -265,7 +261,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: &oauth2.Token{RefreshToken: "somerefreshtoken", AccessToken: "someaccesstoken"}, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudOAuthInstanceType, @@ -344,7 +339,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: &oauth2.Token{RefreshToken: "somerefreshtoken", AccessToken: "someaccesstoken"}, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudOAuthInstanceType, @@ -394,7 +388,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "", OAuth2Token: &oauth2.Token{RefreshToken: "somerefreshtoken", AccessToken: "someaccesstoken"}, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudOAuthInstanceType, @@ -476,7 +469,6 @@ func TestCloudOAuthMigration(t *testing.T) { Oauth1AccessSecret: "jiraserveraccesssecret", OAuth2Token: nil, Settings: &ConnectionSettings{}, - DefaultProjectKey: "", MattermostUserID: types.ID(mmUserID), }, connectedInstanceType: CloudOAuthInstanceType,