File tree Expand file tree Collapse file tree
src/test/java/io/getstream/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ public class ModerationClientTest {
2222 Client client ;
2323 @ Before
2424 public void setUp ()throws Exception {
25-
26- System .out .println ("api key-------------------------------------------------" );
27- System .out .println (addSpacesAfterEachChar (apiKey ));
28- // client =
29- // Client.builder(apiKey, secret)
30- // .scheme("http")
31- // .host("localhost")
32- // .port(18000)
33- // .build();
3425 client = Client .builder (apiKey , secret ).build ();
3526 }
3627 public static String addSpacesAfterEachChar (String str ) {
@@ -95,7 +86,7 @@ public void testActivityModerated() throws Exception {
9586 actor ("test" ).
9687 verb ("test" ).
9788 object ("test" ).
98- moderationTemplate ("moderation_template_test_7 " ).
89+ moderationTemplate ("moderation_template_activity " ).
9990 extraField ("text" , "pissoar" ).
10091 extraField ("attachment" , images ).
10192 foreignID ("for" ).
@@ -132,7 +123,7 @@ public void testActivityModeratedReactions() throws Exception {
132123 activityID (activityResponse .getID ()).
133124 userID ("user123" ).
134125 extraField ("p" ,"pissoar" ).
135- moderationTemplate ("reaction_test_7 " ).
126+ moderationTemplate ("moderation_template_reaction " ).
136127 build ();
137128
138129 Reaction reactionResponse = client .reactions ().add ("user" , r ).join ();
You can’t perform that action at this time.
0 commit comments