Skip to content

Commit 7d1c9fe

Browse files
committed
Fixup
Signed-off-by: Anatolii Bazko <[email protected]>
1 parent 0c89488 commit 7d1c9fe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

infrastructures/kubernetes/src/test/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/configurator/GitconfigUserdataConfiguratorTest.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
package org.eclipse.che.workspace.infrastructure.kubernetes.namespace.configurator;
1313

1414
import static org.eclipse.che.workspace.infrastructure.kubernetes.namespace.AbstractWorkspaceServiceAccount.GIT_USERDATA_CONFIGMAP_NAME;
15+
import static org.mockito.ArgumentMatchers.anyString;
1516
import static org.mockito.Mockito.spy;
1617
import static org.mockito.Mockito.when;
1718

@@ -73,7 +74,7 @@ public void createUserdataConfigmapWhenDoesNotExist()
7374
InterruptedException, ScmItemNotFoundException, ScmConfigurationPersistenceException,
7475
ScmBadRequestException {
7576
// given
76-
when(gitUserDataFetcher.fetchGitUserData()).thenReturn(new GitUserData("gitUser", "gitEmail"));
77+
when(gitUserDataFetcher.fetchGitUserData(anyString())).thenReturn(new GitUserData("gitUser", "gitEmail"));
7778

7879
// when
7980
configurator.configure(namespaceResolutionContext, TEST_NAMESPACE_NAME);
@@ -95,7 +96,7 @@ public void doNothingWhenSecretAlreadyExists()
9596
ScmUnauthorizedException, ScmItemNotFoundException, ScmConfigurationPersistenceException,
9697
ScmBadRequestException {
9798
// given
98-
when(gitUserDataFetcher.fetchGitUserData()).thenReturn(new GitUserData("gitUser", "gitEmail"));
99+
when(gitUserDataFetcher.fetchGitUserData(anyString())).thenReturn(new GitUserData("gitUser", "gitEmail"));
99100
Map<String, String> annotations =
100101
ImmutableMap.of(
101102
"controller.devfile.io/mount-as",

wsmaster/che-core-api-factory-bitbucket-server/src/main/java/org/eclipse/che/api/factory/server/bitbucket/BitbucketServerURLParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012-2024 Red Hat, Inc.
2+
* Copyright (c) 2012-2025 Red Hat, Inc.
33
* This program and the accompanying materials are made
44
* available under the terms of the Eclipse Public License 2.0
55
* which is available at https://www.eclipse.org/legal/epl-2.0/

0 commit comments

Comments
 (0)