Skip to content

Move TestNetworkPolicyDeployment from template_test.go to networkpolicydeployment_test.go.

Problem to solve

As described in #140 (closed) we're trying to simplify the template tests as the file in question is quite large.

Proposed solution

Decompose template_test.go into individual test files for each template. Separate helper functions into a new file.

What does this MR do?

This MR moves the TestNetworkPolicyDeployment test case from template_test.go to its own file called networkpolicydeployment_test.go.

Edited by Daniel Croft

Merge request reports

Loading