1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- package manifests_test
15+ package manifests
1616
1717import (
1818 "reflect"
1919 "strings"
2020 "testing"
2121
2222 configv1 "github.com/openshift/api/config/v1"
23-
24- "github.com/openshift/cluster-monitoring-operator/pkg/manifests"
2523)
2624
2725func TestGetTLSCiphers (t * testing.T ) {
28- defaultCiphers := manifests . APIServerDefaultTLSCiphers
29- defaultTLSVersion := manifests . APIServerDefaultMinTLSVersion
26+ defaultCiphers := APIServerDefaultTLSCiphers
27+ defaultTLSVersion := APIServerDefaultMinTLSVersion
3028
3129 testCases := []struct {
3230 name string
33- config * manifests. APIServerConfig
31+ config * APIServerConfig
3432 expectedCiphers []string
3533 expectedMinTLSVersion configv1.TLSProtocolVersion
3634 }{
@@ -42,7 +40,7 @@ func TestGetTLSCiphers(t *testing.T) {
4240 },
4341 {
4442 name : "nil config" ,
45- config : manifests . NewAPIServerConfig (nil ),
43+ config : NewAPIServerConfig (nil ),
4644 expectedCiphers : defaultCiphers ,
4745 expectedMinTLSVersion : defaultTLSVersion ,
4846 },
@@ -154,8 +152,8 @@ func TestGetTLSCiphers(t *testing.T) {
154152 }
155153}
156154
157- func newApiserverConfig (profile * configv1.TLSSecurityProfile ) * manifests. APIServerConfig {
158- config := manifests . NewAPIServerConfig (& configv1.APIServer {
155+ func newApiserverConfig (profile * configv1.TLSSecurityProfile ) * APIServerConfig {
156+ config := NewAPIServerConfig (& configv1.APIServer {
159157 Spec : configv1.APIServerSpec {
160158 TLSSecurityProfile : profile ,
161159 },
0 commit comments