File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
databricks-sdk-java/src/test/java/com/databricks/sdk/core/oauth Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,21 +48,21 @@ void testGetIDToken(
4848 Path tokenFile = tempDir .resolve ("token.txt" );
4949 Files .write (tokenFile , fileContent .getBytes (StandardCharsets .UTF_8 ));
5050
51- String filePathToRead = null ;
51+ String testPathToRead = null ;
5252 // If fileToReadFrom is null, we want to simulate passing a null path to FileIDTokenSource (for
5353 // error cases).
5454 // If fileToReadFrom is an empty string, we want to simulate passing an empty path (also for
5555 // error cases).
5656 // Otherwise, resolve the file name relative to the temp directory to get the full path.
5757 if (fileToReadFrom != null ) {
5858 if (fileToReadFrom .equals ("" )) {
59- filePathToRead = "" ;
59+ testPathToRead = "" ;
6060 } else {
61- filePathToRead = tempDir .resolve (fileToReadFrom ).toString ();
61+ testPathToRead = tempDir .resolve (fileToReadFrom ).toString ();
6262 }
6363 }
6464
65- FileIDTokenSource source = new FileIDTokenSource (filePathToRead );
65+ FileIDTokenSource source = new FileIDTokenSource (testPathToRead );
6666
6767 if (expectedException != null ) {
6868 assertThrows (expectedException , () -> source .getIDToken (TEST_AUDIENCE ));
You can’t perform that action at this time.
0 commit comments