Skip to content

Commit 0a9fdec

Browse files
缘潘缘潘
authored andcommitted
fix Travis CI and bugs
1 parent 2710270 commit 0a9fdec

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/test/java/test/com/qiniu/TestConfig.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)