Skip to content

Commit

Permalink
feat(provider/google): Modified the CloudrunDeployManifestDescription…
Browse files Browse the repository at this point in the history
…Test class to use the junit 5 constructs.
  • Loading branch information
sanopsmx committed Nov 1, 2023
1 parent e9be200 commit b744ac9
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
import com.netflix.spinnaker.clouddriver.cloudrun.op.manifest.CloudrunDeployManifestOperation;
import com.netflix.spinnaker.clouddriver.cloudrun.security.CloudrunNamedAccountCredentials;
import com.netflix.spinnaker.credentials.CredentialsRepository;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
import org.junit.Test;

public class CloudrunDeployManifestDescriptionTest {

Expand All @@ -27,7 +28,7 @@ public class CloudrunDeployManifestDescriptionTest {
}
};

@Before
@BeforeEach
public void init() {
converter = new CloudrunDeployManifestConverter();
credentialsRepository = mock(CredentialsRepository.class);
Expand Down Expand Up @@ -61,3 +62,4 @@ public void checkApplicationNameTest() {
assertThat(desc.getApplication()).isEqualTo("foo");
}
}

0 comments on commit b744ac9

Please sign in to comment.