Commit 811f7a4
authored
STCOR-798 fully populate /bl-users/_self API response in tests (#1401)
Provide a fully-populated user object, instead of an empty one, from
`/bl-users/_self` in tests. Tests that expect an authenticated user may
fail if they end up calling the endpoint and don't receive the expected
data. It's unclear exactly why we're hitting this glitch now, but here
we are. 🤷
h/t @JohnC-80 for figuring this out. He deserves the credit here; I'm
just the codemonkey who happened to be available to implement his
suggested fix.
Refs STCOR-7981 parent 6fc8d5b commit 811f7a4
1 file changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 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 | + | |
48 | 74 | | |
49 | 75 | | |
50 | 76 | | |
| |||
0 commit comments