Is there any way to put_session in a test, I want to test my logout and I haven’t found a way to setup the conn with a sessionput_session(conn, myid), something like the code, but seems difficult to setup a session in Plug
setup do
conn = build_conn
|> put_session(:myid, "myvalue")
%{conn, conn}
end