File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11//
2- // Copyright 2024- 2025 The Chainloop Authors.
2+ // Copyright 2025 The Chainloop Authors.
33//
44// Licensed under the Apache License, Version 2.0 (the "License");
55// you may not use this file except in compliance with the License.
1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- package schemavalidators
16+ package prinfo
1717
1818import (
1919 "encoding/json"
2020 "testing"
2121
22+ "github.com/chainloop-dev/chainloop/internal/schemavalidators"
23+
2224 "github.com/stretchr/testify/assert"
2325 "github.com/stretchr/testify/require"
2426)
@@ -122,7 +124,7 @@ func TestValidatePRInfo(t *testing.T) {
122124 require .NoError (t , err )
123125 }
124126
125- err = ValidatePRInfo (data , PRInfoVersion1_0 )
127+ err = schemavalidators . ValidatePRInfo (data , schemavalidators . PRInfoVersion1_0 )
126128 if tc .wantErr {
127129 assert .Error (t , err )
128130 } else {
You can’t perform that action at this time.
0 commit comments