Skip to content

Commit

Permalink
Fix for updated library
Browse files Browse the repository at this point in the history
  • Loading branch information
jgainerdewar committed Jul 6, 2023
1 parent 2b2b7df commit accbf6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class GcsPathBuilderSpec extends TestKitSuite with AnyFlatSpecLike with Matchers
val storageOptionsField = cloudFilesystemProvider.getClass.getDeclaredField("storageOptions")
storageOptionsField.setAccessible(true)
val storageOptions = storageOptionsField.get(cloudFilesystemProvider)
val credentialsField = storageOptions.getClass.getSuperclass.getDeclaredField("credentials")
val credentialsField = storageOptions.getClass.getSuperclass.getSuperclass.getDeclaredField("credentials")
credentialsField.setAccessible(true)
credentialsField.get(storageOptions).asInstanceOf[Credentials]
}
Expand Down

0 comments on commit accbf6f

Please sign in to comment.