Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Models/Activity.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;

Check warning on line 2 in src/Models/Activity.cs

View workflow job for this annotation

GitHub Actions / Run tests

Using directives should be ordered alphabetically by the namespaces

Check warning on line 2 in src/Models/Activity.cs

View workflow job for this annotation

GitHub Actions / Run tests

Using directives should be ordered alphabetically by the namespaces

Check warning on line 2 in src/Models/Activity.cs

View workflow job for this annotation

GitHub Actions / Run tests

Using directives should be ordered alphabetically by the namespaces

Check warning on line 2 in src/Models/Activity.cs

View workflow job for this annotation

GitHub Actions / Run tests

Using directives should be ordered alphabetically by the namespaces
using Newtonsoft.Json;

namespace Stream.Models
{
Expand Down Expand Up @@ -46,6 +47,7 @@
public class ModerationResponse
{
public string Status { get; set; }
[JsonProperty("recommended_action")]
public string RecommendedAction { get; set; }
public APIError APIError { get; set; }
}
Expand Down
5 changes: 0 additions & 5 deletions tests/ModerationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace StreamNetTests
public class ModerationTests : TestBase
{
[Test]
[Ignore("The api is not deployed yet")]
public async Task TestModerationTemplate()
{
var newActivity2 = new Activity("1", "test", "2")
Expand All @@ -39,7 +38,6 @@ public async Task TestModerationTemplate()
}

[Test]
[Ignore("The api is not deployed yet")]
public async Task TestReactionModeration()
{
var a = new Activity("user:1", "like", "cake")
Expand Down Expand Up @@ -70,7 +68,6 @@ public async Task TestReactionModeration()
}

[Test]
[Ignore("The api is not deployed yet")]
public async Task TestFlagUser()
{
var userId = Guid.NewGuid().ToString();
Expand All @@ -91,7 +88,6 @@ public async Task TestFlagUser()
}

[Test]
[Ignore("The api is not deployed yet")]
public async Task TestFlagActivity()
{
var newActivity = new Activity("vishal", "test", "1");
Expand All @@ -108,7 +104,6 @@ public async Task TestFlagActivity()
}

[Test]
[Ignore("The api is not deployed yet")]
public async Task TestFlagReaction()
{
var a = new Activity("user:1", "like", "cake")
Expand Down
Loading