-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into fork
- Loading branch information
Showing
6 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Miscellaneous fixes for Meilisearch support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix pleroma_ctl mix task calls sometimes not being found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Pleroma: A lightweight social networking server | ||
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/> | ||
# SPDX-License-Identifier: AGPL-3.0-only | ||
|
||
defmodule Pleroma.ReleaseTaskTest do | ||
use Pleroma.DataCase, async: true | ||
|
||
alias Pleroma.ReleaseTasks | ||
|
||
test "finding the module" do | ||
task = "search.meilisearch" | ||
assert Mix.Tasks.Pleroma.Search.Meilisearch == ReleaseTasks.find_module(task) | ||
|
||
task = "user" | ||
assert Mix.Tasks.Pleroma.User == ReleaseTasks.find_module(task) | ||
|
||
refute ReleaseTasks.find_module("doesnt.exist") | ||
end | ||
end |