add VAPID to test config
authorEgor Kislitsyn <egor@kislitsyn.com>
Thu, 6 Dec 2018 13:17:00 +0000 (20:17 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Thu, 6 Dec 2018 13:17:00 +0000 (20:17 +0700)
config/test.exs

index 6f6227c20a2d8e13060162e08b463c4a2a025c26..ca10a616c244d7547055d4d48798ca1e5673d04e 100644 (file)
@@ -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