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: Fix fluent setter in ExtractJobConfiguration #2328

Merged
merged 3 commits into from
Sep 16, 2019
Merged

fix: Fix fluent setter in ExtractJobConfiguration #2328

merged 3 commits into from
Sep 16, 2019

Conversation

jdpedrie
Copy link
Contributor

Counterpart to #2327 and an extra assertion in the job configuration tests to make sure the last setter (the most likely to be newly added) returns as expected.

@jdpedrie jdpedrie added the api: bigquery Issues related to the BigQuery API. label Sep 16, 2019
@jdpedrie jdpedrie requested a review from dwsupplee as a code owner September 16, 2019 19:48
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 16, 2019
@@ -74,14 +74,15 @@ public function testFluentSetters()
];
$this->expectedConfig['configuration']['extract'] = $extract
+ $this->expectedConfig['configuration']['extract'];
$this->config

$this->assertInstanceOf(ExtractJobConfiguration::class, $this->config
Copy link
Contributor

Choose a reason for hiding this comment

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

Would we be able to make this assertion separate from the usage of the setters please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@codecov
Copy link

codecov bot commented Sep 16, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@3453a5a). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2328   +/-   ##
=========================================
  Coverage          ?   92.49%           
  Complexity        ?     4479           
=========================================
  Files             ?      311           
  Lines             ?    13358           
  Branches          ?        0           
=========================================
  Hits              ?    12355           
  Misses            ?     1003           
  Partials          ?        0
Impacted Files Coverage Δ Complexity Δ
BigQuery/src/ExtractJobConfiguration.php 100% <100%> (ø) 8 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3453a5a...16ffc1a. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants