Hi,
I am maintaining the code base of Mobilizon : an event management platform for the Fediverse ; initially derived from Pleroma.
I’m having trouble with adapting the tests to a very small change.
What I get is :
- test/graphql/resolvers/member_test.exs:226
** (Mox.UnexpectedCallError) no expectation defined for Mobilizon.Service.HTTP.ActivityPub.Mock.call/2
- test/federation/activity_pub/transmogrifier/follow_test.exs:45
** (Mox.UnexpectedCallError) expected Mobilizon.Service.HTTP.ActivityPub.Mock.call/2 to be called once but it has been called 2 time
- test/federation/activity_pub/transmogrifier/undo_test.exs:51
** (Mox.UnexpectedCallError) expected Mobilizon.Service.HTTP.ActivityPub.Mock.call/2 to be called once but it has been called 2 times
- test/federation/activity_pub/transmogrifier/update_test.exs:160
** (Mox.UnexpectedCallError) no expectation defined for Mobilizon.Service.HTTP.ActivityPub.Mock.call/2
But I don’t know what an expectation
is in the context of ExUnit and why it is sometimes called twice.
If someone can help me to feel less dumb, it would be really appreciated.