Writing a Blog Engine in Phoenix and Elixir: Part 8, finishing comments
Brandon Richey
235

Also I had to add :set_authorization_flag plug invocation at the top of the web/controllers/post_controller.ex

And then in test/controllers/post_controller_test.exs I had to add admin and other_user to setup block.

And only then my 4 new tests went green, I think all this should be added in post, because for me it was very confusing…

Beside that I’m really enjoying this tutorial series, thank you for the great work!