diff --git a/README.md b/README.md index 93a194c1..79b9329e 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Run `mix deps.get` to install it. ## Getting started (Phoenix) -**Umbrella project:** In an umbrella project run `mix pow.ecto.install` inside your Ecto app instead of `mix pow.install`, and then continue with updating `config.ex`, `endpoint.ex` and `router.ex` inside your Phoenix app. +**Umbrella project:** In an umbrella project run `mix pow.ecto.install` inside your Ecto app instead of `mix pow.install`, and then continue with updating `config.ex`, `endpoint.ex` and `router.ex` inside your Phoenix app using `:my_app_web` in place of `:my_app` as the otp app. Install the necessary files: diff --git a/test/pow/ecto/schema/password_test.exs b/test/pow/ecto/schema/password_test.exs index 59f1b923..49100e3e 100644 --- a/test/pow/ecto/schema/password_test.exs +++ b/test/pow/ecto/schema/password_test.exs @@ -7,7 +7,7 @@ defmodule Pow.Ecto.Schema.PasswordTest do @password "secret" test "pbkdf2_hash/1" do - assert [algo, iterations, salt, _hash] = String.split(Password.pbkdf2_hash(@password, []), "$", trim: true) + assert [algo, iterations, _salt, _hash] = String.split(Password.pbkdf2_hash(@password, []), "$", trim: true) assert algo == "pbkdf2-sha512" assert iterations == "100000"