Skip to content

Commit

Permalink
updated krusty tests for custom schema
Browse files Browse the repository at this point in the history
  • Loading branch information
natasha41575 committed Mar 10, 2021
1 parent bab8c34 commit ed3ab9f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 92,446 deletions.
4 changes: 4 additions & 0 deletions api/krusty/openapicustomschema_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down Expand Up @@ -183,6 +186,7 @@ openapi:

func TestCustomOpenApiFieldOverlayTakesPrecedence(t *testing.T) {
th := kusttest_test.MakeHarness(t)
openapi.ResetOpenAPI()
th.WriteK("base", `
resources:
- mycrd.yaml
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/openapiversion_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
Loading

0 comments on commit ed3ab9f

Please sign in to comment.