Skip to content

Commit 0201214

Browse files
committed
Modified request body in test_add_demon_ratelimits
1 parent 056aecb commit 0201214

File tree

1 file changed

+1
-1
lines changed
  • pointercrate-test/tests/demonlist

1 file changed

+1
-1
lines changed

pointercrate-test/tests/demonlist/demon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async fn test_add_demon_ratelimits(pool: Pool<Postgres>) {
1414

1515
let user = pointercrate_test::user::system_user_with_perms(LIST_MODERATOR, &mut *connection).await;
1616

17-
let demon = serde_json::json! {{"name": "Bloodbath", "requirement": 90, "position": 1, "verifier": "Riot", "publisher": "Riot", "creators": []}};
17+
let demon = serde_json::json! {{"name": "Bloodbath", "requirement": 90, "position": 1, "verifier": "Riot", "publisher": "Riot", "creators": [], "level_id": 10565740}};
1818

1919
// first one should succeed
2020
clnt.post("/api/v2/demons/", &demon)

0 commit comments

Comments
 (0)