@@ -356,7 +356,7 @@ func Test_IssueRead_IFC_InsidersMode(t *testing.T) {
356356 assert .Equal (t , "public" , ifcMap ["confidentiality" ])
357357 })
358358
359- t .Run ("insiders mode enabled on private repo with get_comments emits private untrusted " , func (t * testing.T ) {
359+ t .Run ("insiders mode enabled on private repo with get_comments emits private trusted " , func (t * testing.T ) {
360360 deps := BaseDeps {
361361 Client : mustNewGHClient (t , makeMockClient (true , 0 )),
362362 featureChecker : featureCheckerFor (FeatureFlagIFCLabels ),
@@ -370,7 +370,7 @@ func Test_IssueRead_IFC_InsidersMode(t *testing.T) {
370370
371371 require .NotNil (t , result .Meta )
372372 ifcMap := unmarshalIFC (t , result .Meta ["ifc" ])
373- assert .Equal (t , "untrusted " , ifcMap ["integrity" ])
373+ assert .Equal (t , "trusted " , ifcMap ["integrity" ])
374374 assert .Equal (t , "private" , ifcMap ["confidentiality" ])
375375 })
376376
@@ -1107,7 +1107,7 @@ func Test_SearchIssues_IFC_InsidersMode(t *testing.T) {
11071107 assert .Equal (t , "public" , ifcMap ["confidentiality" ])
11081108 })
11091109
1110- t .Run ("insiders mode mixed public and private emits private untrusted " , func (t * testing.T ) {
1110+ t .Run ("insiders mode mixed public and private emits private trusted " , func (t * testing.T ) {
11111111 searchResult := & github.IssuesSearchResult {Issues : []* github.Issue {
11121112 makeIssue ("octocat" , "private-repo" , 1 ),
11131113 makeIssue ("octocat" , "public-repo" , 2 ),
@@ -1128,7 +1128,7 @@ func Test_SearchIssues_IFC_InsidersMode(t *testing.T) {
11281128
11291129 require .NotNil (t , result .Meta )
11301130 ifcMap := unmarshalIFC (t , result .Meta ["ifc" ])
1131- assert .Equal (t , "untrusted " , ifcMap ["integrity" ])
1131+ assert .Equal (t , "trusted " , ifcMap ["integrity" ])
11321132 assert .Equal (t , "private" , ifcMap ["confidentiality" ])
11331133 })
11341134
@@ -2852,7 +2852,7 @@ func Test_ListIssues_IFC_InsidersMode(t *testing.T) {
28522852 assert .Equal (t , "public" , ifcMap ["confidentiality" ])
28532853 })
28542854
2855- t .Run ("insiders mode enabled on private repo emits private untrusted label" , func (t * testing.T ) {
2855+ t .Run ("insiders mode enabled on private repo emits private trusted label" , func (t * testing.T ) {
28562856 matcher := githubv4mock .NewQueryMatcher (query , vars , makeResponse (true ))
28572857 gqlClient := githubv4 .NewClient (githubv4mock .NewMockedHTTPClient (matcher ))
28582858 deps := BaseDeps {
@@ -2875,7 +2875,7 @@ func Test_ListIssues_IFC_InsidersMode(t *testing.T) {
28752875 var ifcMap map [string ]any
28762876 require .NoError (t , json .Unmarshal (ifcJSON , & ifcMap ))
28772877
2878- assert .Equal (t , "untrusted " , ifcMap ["integrity" ])
2878+ assert .Equal (t , "trusted " , ifcMap ["integrity" ])
28792879 assert .Equal (t , "private" , ifcMap ["confidentiality" ])
28802880 })
28812881}
0 commit comments