fixed clear config after test
on local machine randomly some tests is fail:
1) test get_or_fetch/1 gets an existing user by ap_id (Pleroma.UserTest)
test/user_test.exs:424
** (MatchError) no match of right hand side value: {:error, "Could not fetch by AP id"}
code: {:ok, fetched_user} = User.get_or_fetch(ap_id)
stacktrace:
test/user_test.exs:440: (test)
................
2) test fetching a user from nickname or trying to build one updates an existing user, if stale (Pleroma.UserTest)
test/user_test.exs:494
** (MatchError) no match of right hand side value: {:error, "Could not fetch by AP id"}
code: {:ok, user} = User.get_or_fetch_by_ap_id("http://mastodon.example.org/users/admin")
stacktrace:
test/user_test.exs:509: (test)
Edited by Maksim