projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into issue/1276
[akkoma]
/
test
/
http
/
request_builder_test.exs
diff --git
a/test/http/request_builder_test.exs
b/test/http/request_builder_test.exs
index 113158c9fffcba538b6655b1f994c24205c8921b..bf3a15ebe43af04ca2d8516aebc87b463b829d15 100644
(file)
--- a/
test/http/request_builder_test.exs
+++ b/
test/http/request_builder_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.HTTP.RequestBuilderTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.HTTP.RequestBuilderTest do
@@
-8,8
+8,8
@@
defmodule Pleroma.HTTP.RequestBuilderTest do
alias Pleroma.HTTP.RequestBuilder
describe "headers/2" do
alias Pleroma.HTTP.RequestBuilder
describe "headers/2" do
- clear_config([:http, :send_user_agent])
- clear_config([:http, :user_agent])
+
setup do:
clear_config([:http, :send_user_agent])
+
setup do:
clear_config([:http, :user_agent])
test "don't send pleroma user agent" do
assert RequestBuilder.headers(%{}, []) == %{headers: []}
test "don't send pleroma user agent" do
assert RequestBuilder.headers(%{}, []) == %{headers: []}