Skip to content

Commit

Permalink
chore: remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeadi committed Oct 4, 2024
1 parent a244bde commit 86731ff
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/test/java/io/getstream/client/ModerationClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ public class ModerationClientTest {
Client client;
@Before
public void setUp()throws Exception {

System.out.println("api key-------------------------------------------------");
System.out.println(addSpacesAfterEachChar(apiKey));
// client =
// Client.builder(apiKey, secret)
// .scheme("http")
// .host("localhost")
// .port(18000)
// .build();
client= Client.builder(apiKey, secret).build();
}
public static String addSpacesAfterEachChar(String str) {
Expand Down Expand Up @@ -95,7 +86,7 @@ public void testActivityModerated() throws Exception {
actor("test").
verb("test").
object("test").
moderationTemplate("moderation_template_test_7").
moderationTemplate("moderation_template_activity").
extraField("text", "pissoar").
extraField("attachment", images).
foreignID("for").
Expand Down Expand Up @@ -132,7 +123,7 @@ public void testActivityModeratedReactions() throws Exception {
activityID(activityResponse.getID()).
userID("user123").
extraField("p","pissoar").
moderationTemplate("reaction_test_7").
moderationTemplate("moderation_template_reaction").
build();

Reaction reactionResponse = client.reactions().add("user", r).join();
Expand Down

0 comments on commit 86731ff

Please sign in to comment.