diff --git a/src/main/Main.java b/src/main/Main.java index 3d14570..002feb8 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -16,7 +16,7 @@ new TestDELETEYouTube(token, "PLCwNa5MZdBSq9ty9AidV-b3lt3FGn1h6Q") }; TestTwitter[] twitter = { new TestGETListsTwitter(), new TestPOSTcreateTwitter(), new TestPOSTdestroyTwitter("1082884549791514624"), new TestPOSTupdateTwitter("1082884549791514624", "updated") }; - twitter[0].start(); + youtube[3].start(); } } diff --git a/src/testcase/twitter/TestPOSTdestroyTwitter.java b/src/testcase/twitter/TestPOSTdestroyTwitter.java index da0707c..574eeb8 100644 --- a/src/testcase/twitter/TestPOSTdestroyTwitter.java +++ b/src/testcase/twitter/TestPOSTdestroyTwitter.java @@ -4,7 +4,7 @@ import restfulchecker.RestChecker.Method; public class TestPOSTdestroyTwitter extends TestTwitter { - private String destroyvalue = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547014985\",oauth_nonce=\"9dzWu6\",oauth_version=\"1.0\",oauth_signature=\"ogWla6J3RZfXeQUDsNVgP2eFaUo%3D\""; + private String destroyvalue = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547105207\",oauth_nonce=\"ptwXcz\",oauth_version=\"1.0\",oauth_signature=\"t%2Bho4TlwMi23jJpTYtGQbjNrci4%3D\""; public TestPOSTdestroyTwitter(String ListID) { super(); diff --git a/src/testcase/twitter/TestPOSTupdateTwitter.java b/src/testcase/twitter/TestPOSTupdateTwitter.java index bc6c0c4..a24e7c4 100644 --- a/src/testcase/twitter/TestPOSTupdateTwitter.java +++ b/src/testcase/twitter/TestPOSTupdateTwitter.java @@ -4,7 +4,7 @@ import restfulchecker.RestChecker.Method; public class TestPOSTupdateTwitter extends TestTwitter { - private String updatevalue = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547015150\",oauth_nonce=\"MT2uux\",oauth_version=\"1.0\",oauth_signature=\"lloPry59IyifWpmwNqDK1uIxqgo%3D\""; + private String updatevalue = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547105119\",oauth_nonce=\"iw80A2\",oauth_version=\"1.0\",oauth_signature=\"TIWghvskihhXyxD1ZtEW7YoHz4Y%3D\""; public TestPOSTupdateTwitter(String ListID, String name) { super();