@@ -12,7 +12,7 @@ func TestToYAML_EmptyPolicy(t *testing.T) {
1212 out , err := p .ToYAML ()
1313 require .NoError (t , err )
1414
15- expected := "_schema: https://kosli.mintlify.app /schemas/policy/v1\n "
15+ expected := "_schema: https://docs. kosli.com /schemas/policy/v1\n "
1616 assert .Equal (t , expected , string (out ))
1717}
1818
@@ -24,7 +24,7 @@ func TestToYAML_ProvenanceRequired(t *testing.T) {
2424 out , err := p .ToYAML ()
2525 require .NoError (t , err )
2626
27- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
27+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
2828artifacts:
2929 provenance:
3030 required: true
@@ -45,7 +45,7 @@ func TestToYAML_ProvenanceWithExceptions(t *testing.T) {
4545 out , err := p .ToYAML ()
4646 require .NoError (t , err )
4747
48- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
48+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
4949artifacts:
5050 provenance:
5151 required: true
@@ -68,7 +68,7 @@ func TestToYAML_TrailComplianceWithExceptions(t *testing.T) {
6868 out , err := p .ToYAML ()
6969 require .NoError (t , err )
7070
71- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
71+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
7272artifacts:
7373 trail-compliance:
7474 required: true
@@ -88,7 +88,7 @@ func TestToYAML_SingleAttestation(t *testing.T) {
8888 out , err := p .ToYAML ()
8989 require .NoError (t , err )
9090
91- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
91+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
9292artifacts:
9393 attestations:
9494 - type: snyk
@@ -111,7 +111,7 @@ func TestToYAML_AttestationWithNameAndIf(t *testing.T) {
111111 out , err := p .ToYAML ()
112112 require .NoError (t , err )
113113
114- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
114+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
115115artifacts:
116116 attestations:
117117 - type: pull_request
@@ -133,7 +133,7 @@ func TestToYAML_MultipleAttestations(t *testing.T) {
133133 out , err := p .ToYAML ()
134134 require .NoError (t , err )
135135
136- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
136+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
137137artifacts:
138138 attestations:
139139 - type: snyk
@@ -171,7 +171,7 @@ func TestToYAML_FullPolicy(t *testing.T) {
171171 out , err := p .ToYAML ()
172172 require .NoError (t , err )
173173
174- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
174+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
175175artifacts:
176176 provenance:
177177 required: true
@@ -202,7 +202,7 @@ func TestToYAML_WildcardNameExplicit(t *testing.T) {
202202 require .NoError (t , err )
203203
204204 // name: "*" should always be explicit in output
205- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
205+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
206206artifacts:
207207 attestations:
208208 - type: snyk
@@ -222,7 +222,7 @@ func TestToYAML_WildcardTypeRequiresNonWildcardName(t *testing.T) {
222222 out , err := p .ToYAML ()
223223 require .NoError (t , err )
224224
225- expected := `_schema: https://kosli.mintlify.app /schemas/policy/v1
225+ expected := `_schema: https://docs. kosli.com /schemas/policy/v1
226226artifacts:
227227 attestations:
228228 - type: '*'
0 commit comments