diff --git a/src/gitea.rs b/src/gitea.rs index 6959692..2459a8e 100644 --- a/src/gitea.rs +++ b/src/gitea.rs @@ -264,7 +264,8 @@ mod tests { "id": 7, "body": "@test_bot LGTM", "user": { - "id": 100 + "id": 100, + "login": "test_user" } } }); @@ -328,7 +329,8 @@ mod tests { "id": 1, "body": "@test_bot body", "user": { - "id": 1 + "id": 1, + "login": "test_user" } } }); @@ -359,7 +361,8 @@ mod tests { "id": 12, "body": "Needs work", "user": { - "id": 200 + "id": 200, + "login": "test_user" } } }); @@ -396,7 +399,8 @@ mod tests { "id": 1, "body": "@other_bot do something", "user": { - "id": 1 + "id": 1, + "login": "test_user" } } }); @@ -422,7 +426,8 @@ mod tests { "id": 1, "body": "just a comment without bot mention", "user": { - "id": 1 + "id": 1, + "login": "test_user" } } });