Commit bedce8e
committed
test(opentelemetry): add spaceId to request context mocks
- Add spaceId mock to CoSecAttributesExtractorTest PolicyVerifyContext setup
- Add spaceId mock to CoSecAttributesExtractorTest RoleVerifyContext setup
- Add spaceId mock to CoSecAttributesExtractorTest anonymous context setup
- Add spaceId mock to TracingAuthorizationTest RoleVerifyContext setup
Signed-off-by: Ahoo Wang <ahoowang@qq.com>1 parent 70c9787 commit bedce8e
File tree
2 files changed
+4
-0
lines changed- cosec-opentelemetry/src/test/kotlin/me/ahoo/cosec/opentelemetry
2 files changed
+4
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments