File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/test/java/test/com/qiniu Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ public final class TestConfig {
1717 public static final String dummyInvalidUptoken = "invalidtoken" ;
1818
1919 //test: ak, sk, auth
20- public static final String testAccessKey = "vHg2e7nOh7Jsucv2Azr5FH6omPgX22zoJRWa0FN5" ; // System.getenv("QINIU_ACCESS_KEY");
21- public static final String testSecretKey = "qDUzapzO_gI7Q2OW_1c7UKctHTOyHPrR-bBWsYvC" ; // System.getenv("QINIU_SECRET_KEY");
20+ public static final String testAccessKey = System .getenv ("QINIU_ACCESS_KEY" );
21+ public static final String testSecretKey = System .getenv ("QINIU_SECRET_KEY" );
2222 public static Auth testAuth = Auth .create (testAccessKey , testSecretKey );
2323 //z0
2424 public static final String testBucket_z0 = "javasdk" ;
@@ -47,9 +47,6 @@ public static boolean isTravis() {
4747
4848 public static void main (String [] args ) {
4949 try {
50- BucketTest bucketTest = new BucketTest ();
51- bucketTest .setUp ();
52- bucketTest .testStat ();
5350 System .out .println ("done" );
5451 } catch (Exception e ) {
5552 e .printStackTrace ();
You can’t perform that action at this time.
0 commit comments