File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package github
22
33import (
4+ "context"
45 "testing"
56
67 "github.com/google/go-github/v82/github"
@@ -864,7 +865,7 @@ func TestFlattenConditionsOrganizationID(t *testing.T) {
864865 },
865866 }
866867
867- result := flattenConditions (conditions , true )
868+ result := flattenConditions (context . Background (), conditions , true )
868869
869870 if len (result ) != 1 {
870871 t .Fatalf ("Expected 1 element in result, got %d" , len (result ))
@@ -904,7 +905,7 @@ func TestRoundTripConditionsWithAllProperties(t *testing.T) {
904905 }
905906
906907 // Flatten back to terraform format
907- flattenedResult := flattenConditions (expandedConditions , true )
908+ flattenedResult := flattenConditions (context . Background (), expandedConditions , true )
908909
909910 if len (flattenedResult ) != 1 {
910911 t .Fatalf ("Expected 1 flattened result, got %d" , len (flattenedResult ))
You can’t perform that action at this time.
0 commit comments