This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
src/test/java/com/venafi/vcert/sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ public class TestUtils {
5353 public static final String API_KEY = System .getenv ("APIKEY" );
5454 public static final String CLOUD_ENTRUST_CA_NAME = System .getenv ("CLOUD_ENTRUST_CA_NAME" );
5555 public static final String CLOUD_DIGICERT_CA_NAME = System .getenv ("CLOUD_DIGICERT_CA_NAME" );
56+ public static final String CLOUD_TEAM = System .getenv ("CLOUD_TEAM" );
5657
5758 public static final String PEM_RSA_PRIVATE_KEY = "RSA PRIVATE KEY" ;
5859 public static final String PEM_RSA_PRIVATE_KEY_ENCRYPTED = "RSA PRIVATE KEY" ;
Original file line number Diff line number Diff line change @@ -201,11 +201,11 @@ public void createPolicyWithTeam() throws VCertException {
201201 CloudConnector connector = connectorResource .connector ();
202202 String policyName = CloudTestUtils .getRandomZone ();
203203 PolicySpecification policySpecification = CloudTestUtils .getPolicySpecification ();
204- policySpecification .users (new String []{"DevOpsTeam" });
204+ policySpecification .users (new String []{TestUtils . CLOUD_TEAM });
205205 connector .setPolicy (policyName , policySpecification );
206206 PolicySpecification psReturned = connector .getPolicy (policyName );
207207
208208 Assertions .assertEquals (1 , psReturned .users ().length );
209- Assertions .assertEquals ("DevOpsTeam" , psReturned .users ()[0 ]);
209+ Assertions .assertEquals (TestUtils . CLOUD_TEAM , psReturned .users ()[0 ]);
210210 }
211211}
You can’t perform that action at this time.
0 commit comments