Commit e5d7a9a
Changjian Wang
Add environment variable check to Sample08_UpdateAnalyzerTest.setup()
Sample08_UpdateAnalyzerTest has a custom setup() method that builds a client.
This method now calls skipIfRequiredEnvironmentVariablesNotSet() to skip the test
when credentials are not available, preventing NullPointerException.1 parent ee42863 commit e5d7a9a
File tree
1 file changed
+3
-0
lines changed- sdk/contentunderstanding/azure-ai-contentunderstanding/src/test/java/com/azure/ai/contentunderstanding/generated
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments