Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adding unit tests for connection classes #6934

Merged

Conversation

vishwarajanand
Copy link
Contributor

@vishwarajanand vishwarajanand commented Jan 3, 2024

Added tests for handwritten classes in BQ / Storage / PubSub for TPC.

I have manually tested that the TPC works for environment when I used PubSubClient, StorageClient and BigQueryClient. I initialized their clients (provided universeDomain config in addition to the universe_domain present in service account json key) and called methods to topics, buckets and datasets respectively.

Copy link
Contributor

@bshaffer bshaffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow these look great! Thanks for writing these.

Core/src/RestTrait.php Outdated Show resolved Hide resolved
@vishwarajanand vishwarajanand marked this pull request as ready for review January 3, 2024 21:56
@vishwarajanand vishwarajanand requested review from a team as code owners January 3, 2024 21:56
@vishwarajanand vishwarajanand changed the title chore: adding unit tests for connection classes fix: adding unit tests for connection classes Jan 3, 2024
@vishwarajanand vishwarajanand merged commit 1bedd0e into universe-domain-for-bigquery-and-storage Jan 4, 2024
21 checks passed
@vishwarajanand vishwarajanand deleted the tpc_unit_tests branch January 4, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants