File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
astra-sdk-devops/src/test/java/com/dtsx/astra/sdk/db Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 15
15
public class NonProductionEnvironmentTest extends AbstractDevopsApiTest {
16
16
17
17
static String tokenDev = System .getenv ("ASTRA_DB_APPLICATION_TOKEN_DEV" );
18
- static String tokenDev2 = "AstraCS:ZiWfNzYJtUGszRuGyyTjFIXU:2c5a21a4623c6ee688d4bca4b8e55a269aa3ee864fcd16b26b7f9a82ca57b999" ;
19
18
static String tokenTest = System .getenv ("ASTRA_DB_APPLICATION_TOKEN_TEST" );
20
19
21
20
@ Test
22
21
public void shouldListDatabasesDev () {
23
- AstraDBOpsClient opsClient = new AstraDBOpsClient (tokenDev2 , AstraEnvironment .DEV );
22
+ AstraDBOpsClient opsClient = new AstraDBOpsClient (tokenTest , AstraEnvironment .DEV );
24
23
opsClient .findAllNonTerminated ().map (Database ::getInfo ).map (DatabaseInfo ::getName ).forEach (System .out ::println );
25
24
//opsClient.databaseByName("sdk_java_test_vector").accessLists();
26
25
You can’t perform that action at this time.
0 commit comments