Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: EventStore.Config.parsed/0 is undefined or private #343

Open
xtagon opened this issue Feb 18, 2020 · 0 comments
Open

Warning: EventStore.Config.parsed/0 is undefined or private #343

xtagon opened this issue Feb 18, 2020 · 0 comments

Comments

@xtagon
Copy link

xtagon commented Feb 18, 2020

Hi, I followed the instruction in the Wiki page for testing: https://github.com/commanded/commanded/wiki/Testing-your-application

And I got the following warning:

warning: EventStore.Config.parsed/0 is undefined or private. Did you mean one of:

      * parsed/2

  test/support/storage.ex:11: MyApp.Storage.reset_eventstore/0

The offending line is:

    config = EventStore.Config.parsed() |> EventStore.Config.default_postgrex_opts()

If I understand correctly the two arguments needed are:

    config = EventStore.Config.parsed(MyApp.EventStore, :my_app) |> EventStore.Config.default_postgrex_opts()

Is that correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant