Skip to content

WIP CI-specific unit test failure fix

WIP MR attempting to fix a floating, CI-specific unit tests failure:

== Compilation error in file test/plugs/session_authentication_plug_test.exs ==
** (CompileError) test/plugs/session_authentication_plug_test.exs:18: Pleroma.User.__struct__/1 is undefined, cannot expand struct Pleroma.User
    (stdlib) lists.erl:1354: :lists.mapfoldl/3
    (stdlib) lists.erl:1355: :lists.mapfoldl/3
    (elixir) expanding macro: Kernel.|>/2
    test/plugs/session_authentication_plug_test.exs:18: Pleroma.Plugs.SessionAuthenticationPlugTest.__ex_unit_setup_1/1
    (elixir) lib/code.ex:767: Code.require_file/2
    (elixir) lib/kernel/parallel_compiler.ex:209: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6
Edited by Ivan Tashkinov

Merge request reports