@@ -355,7 +355,7 @@ func Test_IssueRead_IFC_InsidersMode(t *testing.T) {
355355 assert .Equal (t , "public" , ifcMap ["confidentiality" ])
356356 })
357357
358- t .Run ("insiders mode enabled on private repo with get_comments emits private untrusted " , func (t * testing.T ) {
358+ t .Run ("insiders mode enabled on private repo with get_comments emits private trusted " , func (t * testing.T ) {
359359 deps := BaseDeps {
360360 Client : mustNewGHClient (t , makeMockClient (true , 0 )),
361361 featureChecker : featureCheckerFor (FeatureFlagIFCLabels ),
@@ -369,7 +369,7 @@ func Test_IssueRead_IFC_InsidersMode(t *testing.T) {
369369
370370 require .NotNil (t , result .Meta )
371371 ifcMap := unmarshalIFC (t , result .Meta ["ifc" ])
372- assert .Equal (t , "untrusted " , ifcMap ["integrity" ])
372+ assert .Equal (t , "trusted " , ifcMap ["integrity" ])
373373 assert .Equal (t , "private" , ifcMap ["confidentiality" ])
374374 })
375375
@@ -1106,7 +1106,7 @@ func Test_SearchIssues_IFC_InsidersMode(t *testing.T) {
11061106 assert .Equal (t , "public" , ifcMap ["confidentiality" ])
11071107 })
11081108
1109- t .Run ("insiders mode mixed public and private emits private untrusted " , func (t * testing.T ) {
1109+ t .Run ("insiders mode mixed public and private emits private trusted " , func (t * testing.T ) {
11101110 searchResult := & github.IssuesSearchResult {Issues : []* github.Issue {
11111111 makeIssue ("octocat" , "private-repo" , 1 ),
11121112 makeIssue ("octocat" , "public-repo" , 2 ),
@@ -1127,7 +1127,7 @@ func Test_SearchIssues_IFC_InsidersMode(t *testing.T) {
11271127
11281128 require .NotNil (t , result .Meta )
11291129 ifcMap := unmarshalIFC (t , result .Meta ["ifc" ])
1130- assert .Equal (t , "untrusted " , ifcMap ["integrity" ])
1130+ assert .Equal (t , "trusted " , ifcMap ["integrity" ])
11311131 assert .Equal (t , "private" , ifcMap ["confidentiality" ])
11321132 })
11331133
@@ -2719,7 +2719,7 @@ func Test_ListIssues_IFC_InsidersMode(t *testing.T) {
27192719 assert .Equal (t , "public" , ifcMap ["confidentiality" ])
27202720 })
27212721
2722- t .Run ("insiders mode enabled on private repo emits private untrusted label" , func (t * testing.T ) {
2722+ t .Run ("insiders mode enabled on private repo emits private trusted label" , func (t * testing.T ) {
27232723 matcher := githubv4mock .NewQueryMatcher (query , vars , makeResponse (true ))
27242724 gqlClient := githubv4 .NewClient (githubv4mock .NewMockedHTTPClient (matcher ))
27252725 deps := BaseDeps {
@@ -2742,7 +2742,7 @@ func Test_ListIssues_IFC_InsidersMode(t *testing.T) {
27422742 var ifcMap map [string ]any
27432743 require .NoError (t , json .Unmarshal (ifcJSON , & ifcMap ))
27442744
2745- assert .Equal (t , "untrusted " , ifcMap ["integrity" ])
2745+ assert .Equal (t , "trusted " , ifcMap ["integrity" ])
27462746 assert .Equal (t , "private" , ifcMap ["confidentiality" ])
27472747 })
27482748}
0 commit comments