Skip to content

Commit d2a3221

Browse files
committed
write test for modTemplate in AddChildAsync
1 parent fb8607f commit d2a3221

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/ModerationTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,9 @@ public async Task TestReactionModeration()
9090

9191
var c1 = await Client.Reactions.AddChildAsync(r.Id, "upvote", "tommy", updatedData, null, "moderation_config_1_reaction");
9292
Assert.NotNull(c1);
93-
94-
var updatedResponse2 = c1.GetModerationResponse();
95-
Assert.AreEqual("complete", updatedResponse2.Status);
96-
Assert.AreEqual("remove", updatedResponse2.RecommendedAction);
93+
var updatedResponse3 = c1.GetModerationResponse();
94+
Assert.AreEqual("complete", updatedResponse3.Status);
95+
Assert.AreEqual("remove", updatedResponse3.RecommendedAction);
9796
}
9897

9998
[Test]

0 commit comments

Comments
 (0)