Step 10 setup: fix test support for full suite. - Adds ConnCase.github_user/1, log_in_github_user/1, log_in_admin_user/1, grant_operator/1, and revoke_operator/0. - Adds Endpoint.session_options/0 and the secure/max_age session options.
Step 10 setup: fix test support for full suite.
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
lib/openagents_web/endpoint.ex -
modified
test/support/conn_case.ex
Diff
2 files changed, +51 -1
lib/openagents_web/endpoint.ex modified +6 -1
@@ -8,9 +8,14 @@ defmodule OpenAgentsWeb.Endpoint do
| 8 | 8 |
|
| 9 | 9 |
|
| 10 | 10 |
|
| 11 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 12 | 14 |
|
| 13 | 15 |
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 14 | 19 |
|
| 15 | 20 |
|
| 16 | 21 |
|
test/support/conn_case.ex modified +45
@@ -35,4 +35,49 @@ defmodule OpenAgentsWeb.ConnCase do
| 35 | 35 |
|
| 36 | 36 |
|
| 37 | 37 |
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
|
| 49 |
|
|
| 50 |
|
|
| 51 |
|
|
| 52 |
|
|
| 53 |
|
|
| 54 |
|
|
| 55 |
|
|
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
|
| 73 |
|
|
| 74 |
|
|
| 75 |
|
|
| 76 |
|
|
| 77 |
|
|
| 78 |
|
|
| 79 |
|
|
| 80 |
|
|
| 81 |
|
|
| 82 |
|
|
| 38 | 83 |
|