Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

fix stale code/test from test-controller#213

Merged
ofrobots merged 1 commit intogoogleapis:masterfrom
ofrobots:unnecessary-mock
Dec 27, 2016
Merged

fix stale code/test from test-controller#213
ofrobots merged 1 commit intogoogleapis:masterfrom
ofrobots:unnecessary-mock

Conversation

@ofrobots
Copy link
Copy Markdown
Contributor

The controller no longer automatically fetches the projectId from metadata service. The mock and corresponding tests were no longer necessary.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 27, 2016
Copy link
Copy Markdown
Contributor

@matthewloring matthewloring left a comment

Choose a reason for hiding this comment

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

Are there tests elsewhere checking we retrieve the project number correctly using the new mechanism?

@ofrobots
Copy link
Copy Markdown
Contributor Author

Yep. test-debuglet.js exercises this path adequately.

@ofrobots ofrobots merged commit c48c7db into googleapis:master Dec 27, 2016
@ofrobots ofrobots deleted the unnecessary-mock branch December 27, 2016 18:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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