projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4944498
)
add VAPID to test config
author
Egor Kislitsyn
<egor@kislitsyn.com>
Thu, 6 Dec 2018 13:17:00 +0000
(20:17 +0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Thu, 6 Dec 2018 13:17:00 +0000
(20:17 +0700)
config/test.exs
patch
|
blob
|
history
diff --git
a/config/test.exs
b/config/test.exs
index 6f6227c20a2d8e13060162e08b463c4a2a025c26..ca10a616c244d7547055d4d48798ca1e5673d04e 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-27,6
+27,12
@@
config :pleroma, :websub, Pleroma.Web.WebsubMock
config :pleroma, :ostatus, Pleroma.Web.OStatusMock
config :tesla, adapter: Tesla.Mock
+config :web_push_encryption, :vapid_details,
+ subject: "mailto:administrator@example.com",
+ public_key:
+ "BLH1qVhJItRGCfxgTtONfsOKDc9VRAraXw-3NsmjMngWSh7NxOizN6bkuRA7iLTMPS82PjwJAr3UoK9EC1IFrz4",
+ private_key: "_-XZ0iebPrRfZ_o0-IatTdszYa8VCH1yLN-JauK7HHA"
+
try do
import_config "test.secret.exs"
rescue