@@ -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
@@ -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