File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -969,10 +969,8 @@ func TestExpectKnownValue_CheckState_Number(t *testing.T) {
969969 }
970970
971971 r .Test (t , r.TestCase {
972- ProviderFactories : map [string ]func () (* schema.Provider , error ){
973- "test" : func () (* schema.Provider , error ) { //nolint:unparam // required signature
974- return testProvider (), nil
975- },
972+ ProtoV6ProviderFactories : map [string ]func () (tfprotov6.ProviderServer , error ){
973+ "test" : providerserver .NewProviderServer (anTestProvider ),
976974 },
977975 Steps : []r.TestStep {
978976 {
@@ -1002,10 +1000,8 @@ func TestExpectKnownValue_CheckState_Number_KnownValueWrongValue(t *testing.T) {
10021000 }
10031001
10041002 r .Test (t , r.TestCase {
1005- ProviderFactories : map [string ]func () (* schema.Provider , error ){
1006- "test" : func () (* schema.Provider , error ) { //nolint:unparam // required signature
1007- return testProvider (), nil
1008- },
1003+ ProtoV6ProviderFactories : map [string ]func () (tfprotov6.ProviderServer , error ){
1004+ "test" : providerserver .NewProviderServer (anTestProvider ),
10091005 },
10101006 Steps : []r.TestStep {
10111007 {
You can’t perform that action at this time.
0 commit comments