mirror of
https://github.com/jtomchak/akkoma.git
synced 2025-03-28 05:31:49 +01:00
tests consistency
This commit is contained in:
parent
6bf85440b3
commit
7dffaef479
258 changed files with 38 additions and 37 deletions
test
fixtures/modules
pleroma
activity/ir
activity_test.exsbbs
bookmark_test.exscaptcha_test.exschat
chat_test.exsconfig
config_db_test.exsconfig_test.exsconversation
conversation_test.exsdocs
earmark_renderer_test.exsecto_type/activity_pub/object_validators
emails
emoji
emoji_test.exsfilter_test.exsfollowing_relationship_test.exsformatter_test.exshealthcheck_test.exshtml_test.exshttp
http_test.exsinstances
instances_test.exsintegration
job_queue_monitor_test.exskeys_test.exslist_test.exsmarker_test.exsmfa
mfa_test.exsmigration_helper
moderation_log_test.exsnotification_test.exsobject
object_test.exsotp_version_test.exspagination_test.exsregistration_test.exsrepo_test.exsreverse_proxy_test.exsruntime_test.exssafe_jsonb_set_test.exsscheduled_activity_test.exssignature_test.exsstats_test.exsupload
upload_test.exsuploaders
user
user_invite_token_test.exsuser_relationship_test.exsuser_search_test.exsuser_test.exsweb/activity_pub
activity_pub_controller_test.exsactivity_pub_test.exsforce_bot_unlisted_policy_test.exs
mrf
activity_expiration_policy_test.exsanti_followbot_policy_test.exsanti_link_spam_policy_test.exsensure_re_prepended_test.exshellthread_policy_test.exskeyword_policy_test.exsmedia_proxy_warming_policy_test.exsmention_policy_test.exsno_placeholder_text_policy_test.exsnormalize_markup_test.exsobject_age_policy_test.exsreject_non_public_test.exssimple_policy_test.exssteal_emoji_policy_test.exssubchain_policy_test.exstag_policy_test.exsuser_allow_list_policy_test.exsvocabulary_policy_test.exs
mrf_test.exs
2
test/fixtures/modules/runtime_module.ex
vendored
2
test/fixtures/modules/runtime_module.ex
vendored
|
@ -2,7 +2,7 @@
|
|||
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
defmodule RuntimeModule do
|
||||
defmodule Fixtures.Modules.RuntimeModule do
|
||||
@moduledoc """
|
||||
This is a dummy module to test custom runtime modules.
|
||||
"""
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
defmodule Pleroma.Web.ActivityPub.ObjectValidators.Types.DateTimeTest do
|
||||
defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.DateTimeTest do
|
||||
alias Pleroma.EctoType.ActivityPub.ObjectValidators.DateTime
|
||||
use Pleroma.DataCase
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
defmodule Pleroma.Web.ObjectValidators.Types.ObjectIDTest do
|
||||
defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.ObjectIDTest do
|
||||
alias Pleroma.EctoType.ActivityPub.ObjectValidators.ObjectID
|
||||
use Pleroma.DataCase
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
defmodule Pleroma.Web.ObjectValidators.Types.RecipientsTest do
|
||||
defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.RecipientsTest do
|
||||
alias Pleroma.EctoType.ActivityPub.ObjectValidators.Recipients
|
||||
use Pleroma.DataCase
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
defmodule Pleroma.Web.ActivityPub.ObjectValidators.Types.SafeTextTest do
|
||||
defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.SafeTextTest do
|
||||
use Pleroma.DataCase
|
||||
|
||||
alias Pleroma.EctoType.ActivityPub.ObjectValidators.SafeText
|
|
@ -6,6 +6,7 @@ defmodule Pleroma.RuntimeTest do
|
|||
use ExUnit.Case, async: true
|
||||
|
||||
test "it loads custom runtime modules" do
|
||||
assert {:module, RuntimeModule} == Code.ensure_compiled(RuntimeModule)
|
||||
assert {:module, Fixtures.Modules.RuntimeModule} ==
|
||||
Code.ensure_compiled(Fixtures.Modules.RuntimeModule)
|
||||
end
|
||||
end
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue