Skip to content

Commit cd4af1c

Browse files
committed
move test file
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
1 parent 712fae5 commit cd4af1c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.
@@ -13,12 +13,14 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
package schemavalidators
16+
package prinfo
1717

1818
import (
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 {

0 commit comments

Comments
 (0)