Skip to content

Reduce the boilerplate in Service tests.#1541

Merged
google-prow-robot merged 2 commits into
knative:masterfrom
mattmoor:steve-resource-table
Jul 9, 2018
Merged

Reduce the boilerplate in Service tests.#1541
google-prow-robot merged 2 commits into
knative:masterfrom
mattmoor:steve-resource-table

Conversation

@mattmoor
Copy link
Copy Markdown
Member

@mattmoor mattmoor commented Jul 9, 2018

This makes use of the resources package (independently tested) to populate the resources throughout the Service table testing.

Progress towards: #1517

This makes use of the `resources` package (independently tested) to populate the resources throughout the Service table testing.

Progress towards: knative/serving#1517
@google-prow-robot google-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 9, 2018
@jonjohnsonjr
Copy link
Copy Markdown
Contributor

I'm confused by mutateConfig and mutateRoute.

@mattmoor
Copy link
Copy Markdown
Member Author

mattmoor commented Jul 9, 2018

I added comments describing them. There are similar constructs in the Route controller tests already.

@mattmoor mattmoor force-pushed the steve-resource-table branch from ef34b38 to 4580078 Compare July 9, 2018 21:57
@jonjohnsonjr
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2018
@google-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jonjohnsonjr, mattmoor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-prow-robot google-prow-robot merged commit c815acd into knative:master Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants