X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Ftasks%2Fconfig_test.exs;h=bbcc5721719a7de635ad95130d8f7d53df49ea3b;hb=ade213cb35c8dc1a6f86e7b3836bc2ca86c8ff54;hp=9c9a31bf48f9c22be1f18398f26dcbff5f9ddd1a;hpb=982cad0268898851ff87187eaf0d0b7011b1c96a;p=akkoma diff --git a/test/tasks/config_test.exs b/test/tasks/config_test.exs index 9c9a31bf4..bbcc57217 100644 --- a/test/tasks/config_test.exs +++ b/test/tasks/config_test.exs @@ -1,3 +1,7 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2019 Pleroma Authors +# SPDX-License-Identifier: AGPL-3.0-only + defmodule Mix.Tasks.Pleroma.ConfigTest do use Pleroma.DataCase alias Pleroma.Repo @@ -51,7 +55,7 @@ defmodule Mix.Tasks.Pleroma.ConfigTest do value: [key: "valu2", key2: [Pleroma.Repo]] }) - Mix.Tasks.Pleroma.Config.run(["migrate_from_db", "temp"]) + Mix.Tasks.Pleroma.Config.run(["migrate_from_db", "temp", "true"]) assert Repo.all(Config) == [] assert File.exists?(temp_file)