From b744ac99d3f593dbb81bfa5c69e0cb60246d47d3 Mon Sep 17 00:00:00 2001 From: sanopsmx Date: Wed, 1 Nov 2023 13:54:50 +0530 Subject: [PATCH] feat(provider/google): Modified the CloudrunDeployManifestDescriptionTest class to use the junit 5 constructs. --- .../converters/CloudrunDeployManifestDescriptionTest.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clouddriver-cloudrun/src/test/java/com/netflix/spinnaker/clouddriver/cloudrun/deploy/converters/CloudrunDeployManifestDescriptionTest.java b/clouddriver-cloudrun/src/test/java/com/netflix/spinnaker/clouddriver/cloudrun/deploy/converters/CloudrunDeployManifestDescriptionTest.java index 9ba31e575ed..15f9161558e 100644 --- a/clouddriver-cloudrun/src/test/java/com/netflix/spinnaker/clouddriver/cloudrun/deploy/converters/CloudrunDeployManifestDescriptionTest.java +++ b/clouddriver-cloudrun/src/test/java/com/netflix/spinnaker/clouddriver/cloudrun/deploy/converters/CloudrunDeployManifestDescriptionTest.java @@ -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 { @@ -27,7 +28,7 @@ public class CloudrunDeployManifestDescriptionTest { } }; - @Before + @BeforeEach public void init() { converter = new CloudrunDeployManifestConverter(); credentialsRepository = mock(CredentialsRepository.class); @@ -61,3 +62,4 @@ public void checkApplicationNameTest() { assertThat(desc.getApplication()).isEqualTo("foo"); } } +