Skip to content

Commit 67f1e3a

Browse files
committed
chore: fix old unrelated FlagActivity test
1 parent 8727037 commit 67f1e3a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/ModerationTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ public async Task TestFlagActivity()
9898
newActivity.SetData<string>("stringint", "42");
9999
newActivity.SetData<string>("stringdouble", "42.2");
100100
newActivity.SetData<string>("stringcomplex", "{ \"test1\": 1, \"test2\": \"testing\" }");
101+
102+
// Set moderation data with origin_feed
103+
var moderationData = new Dictionary<string, object>
104+
{
105+
{ "origin_feed", this.UserFeed.FeedId }
106+
};
107+
newActivity.SetData("moderation", moderationData);
101108

102109
var response = await this.UserFeed.AddActivityAsync(newActivity);
103110
Assert.IsNotNull(response);

0 commit comments

Comments
 (0)