Created
March 26, 2018 04:45
-
-
Save scottswezey/c73224d054d6fb0c5cecd56eab7c8d01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test "converts Sid param key to sid" do | |
conn = build_conn(:get, "/hello?Sid=123", "Test=abc") | |
%{conn | query_params: Plug.Conn.fetch_query_params(conn)} | |
conn = FinessTwilioParamsPlug.call(conn, @opts) | |
assert conn.params == %{"sid" => "123", "test" => "abc"} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment