1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.PleromaAPI.AppViewTest do
6 use Pleroma.DataCase, async: true
7 alias Pleroma.Web.PleromaAPI.AppView
17 results = AppView.render("index.json", %{apps: apps})
19 assert [%{client_id: _, client_secret: _}, _, _] = results