projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Consistent comment style for :ex_aws
[akkoma]
/
test
/
pleroma
/
web
/
pleroma_api
/
controllers
/
chat_controller_test.exs
diff --git
a/test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs
b/test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs
index 24efeeb73a36ef445a34ceec718fab2df7601ae5..d0b520fbc7ace55746963321f1c8fbb058d7c438 100644
(file)
--- a/
test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs
+++ b/
test/pleroma/web/pleroma_api/controllers/chat_controller_test.exs
@@
-211,12
+211,12
@@
defmodule Pleroma.Web.PleromaAPI.ChatControllerTest do
assert String.match?(
next,
assert String.match?(
next,
- ~r(#{api_endpoint}.*/messages\?
id=.*&
limit=\d+&max_id=.*; rel=\"next\"$)
+ ~r(#{api_endpoint}.*/messages\?limit=\d+&max_id=.*; rel=\"next\"$)
)
assert String.match?(
prev,
)
assert String.match?(
prev,
- ~r(#{api_endpoint}.*/messages\?
id=.*&
limit=\d+&min_id=.*; rel=\"prev\"$)
+ ~r(#{api_endpoint}.*/messages\?limit=\d+&min_id=.*; rel=\"prev\"$)
)
assert length(result) == 20
)
assert length(result) == 20
@@
-229,12
+229,12
@@
defmodule Pleroma.Web.PleromaAPI.ChatControllerTest do
assert String.match?(
next,
assert String.match?(
next,
- ~r(#{api_endpoint}.*/messages\?
id=.*&
limit=\d+&max_id=.*; rel=\"next\"$)
+ ~r(#{api_endpoint}.*/messages\?limit=\d+&max_id=.*; rel=\"next\"$)
)
assert String.match?(
prev,
)
assert String.match?(
prev,
- ~r(#{api_endpoint}.*/messages\?
id=.*&
limit=\d+&max_id=.*&min_id=.*; rel=\"prev\"$)
+ ~r(#{api_endpoint}.*/messages\?limit=\d+&max_id=.*&min_id=.*; rel=\"prev\"$)
)
assert length(result) == 10
)
assert length(result) == 10