Skip to content

Commit 097c894

Browse files
committed
Updating the response-invalid-identity test output
1 parent fc058a8 commit 097c894

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/fwserver/server_moveresourcestate_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,13 @@ func TestServerMoveResourceState(t *testing.T) {
961961
TargetTypeName: "test_resource",
962962
},
963963
expectedResponse: &fwserver.MoveResourceStateResponse{
964+
Diagnostics: diag.Diagnostics{
965+
diag.NewErrorDiagnostic(
966+
"Unexpected Move State Response",
967+
"An unexpected error was encountered when creating the move state response. New identity data was returned by the provider move state operation, but the resource does not indicate identity support.\n\n"+
968+
"This is always a problem with the provider and should be reported to the provider developer.",
969+
),
970+
},
964971
TargetState: &tfsdk.State{
965972
Raw: tftypes.NewValue(schemaType, map[string]tftypes.Value{
966973
"id": tftypes.NewValue(tftypes.String, "test-id-value"),

0 commit comments

Comments
 (0)