Commit 85e272d
committed
test(logging): fix missing credentials in Actionable Errors tests
Added `NoCredentialsProvider.create()` to the `stubSettingsBuilder` in `testHttpJson_clientLevelFailureAttributes` and `testGrpc_clientLevelFailureAttributes` to prevent test failures in environments without Application Default Credentials.1 parent 7dfa31c commit 85e272d
File tree
1 file changed
+2
-0
lines changed- sdk-platform-java/java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/logging
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
| |||
266 | 267 | | |
267 | 268 | | |
268 | 269 | | |
| 270 | + | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| |||
0 commit comments