Add controller version to generated files

This commit is contained in:
Paul Tyng
2021-08-31 09:02:23 -04:00
parent 4e9d935af2
commit 13d5677bf3
63 changed files with 73 additions and 8 deletions

View File

@@ -2,8 +2,9 @@ package main
import (
"fmt"
assert "github.com/stretchr/testify/assert"
"testing"
assert "github.com/stretchr/testify/assert"
)
func TestFieldInfoFromValidation(t *testing.T) {
@@ -145,7 +146,7 @@ func TestResourceTypes(t *testing.T) {
}
t.Run("structural test", func(t *testing.T) {
resource := NewResource("Struct", "path")
resource := NewResource("v1.1", "Struct", "path")
resource.FieldProcessor = expectation.FieldProcessor
err := resource.processJSON(([]byte)(testData))