1 # Pleroma: A lightweight social networking server
2 # Copyright © 2024 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.MapsTest do
6 use Pleroma.DataCase, async: true
10 describe "filter_empty_values/1" do
11 assert %{"bar" => "b", "ray" => ["foo"], "objs" => %{"a" => "b"}} ==
12 Maps.filter_empty_values(%{
19 "objs" => %{"a" => "b"}