Skip to content

Commit aed267d

Browse files
committed
Missed a few
1 parent 60de18b commit aed267d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_chatcommands.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_approve(monkeypatch):
195195
monkeypatch.setattr(GlobalVars, "code_privileged_users", [])
196196
assert chatcommands.approve(8888, original_msg=msg).startswith("You need code privileges")
197197

198-
monkeypatch.setattr(GlobalVars, "code_privileged_users", [('stackexchange.com', 1)])
198+
monkeypatch.setattr(GlobalVars, "code_privileged_users", [('stackexchange.com', 121520)])
199199
with monkeypatch.context() as m:
200200
# Oh no GitHub is down
201201
m.setattr("requests.get", lambda *args, **kwargs: None)
@@ -271,7 +271,7 @@ def test_report(handle_spam):
271271
_, call = handle_spam.call_args_list[-1]
272272
assert isinstance(call["post"], Post)
273273
assert call["why"].startswith(
274-
"Post manually reported by user *El'endia Starman* in room *Charcoal HQ*."
274+
"Post manually reported by user *ArtOfCode* in room *Charcoal HQ*."
275275
"\n\nThis post would have also been caught for:"
276276
)
277277

@@ -291,8 +291,8 @@ def test_allspam(handle_spam):
291291
try:
292292
msg = Fake({
293293
"owner": {
294-
"name": "El'endia Starman",
295-
"id": 1,
294+
"name": "ArtOfCode",
295+
"id": 121520,
296296
"is_moderator": False
297297
},
298298
"room": {

0 commit comments

Comments
 (0)