Commit fa4acc1
committed
Clear Sonar S5332 http-scheme hotspot on rest API test
Lift the ``http`` scheme into a named constant with a NOSONAR justification
so the static analyzer sees intent ("localhost-only ephemeral test server;
TLS is out of scope") rather than a bare ``http://`` URL literal. The test
still hits the same local server in the same way.1 parent 6c046e8 commit fa4acc1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments