File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ func TestExtractJSONPath_NumericAndBool(t *testing.T) {
135135
136136func TestResolveDestroyTemplates_NoPlaceholders (t * testing.T ) {
137137 data := & CurlResourceModel {
138- DestroyUrl : types .StringValue ("https://example.com/destroy" ),
138+ DestroyUrl : types .StringValue ("https://example.com/destroy" ),
139139 DestroyRequestBody : types .StringValue (`{"static":true}` ),
140140 }
141141
@@ -153,8 +153,8 @@ func TestResolveDestroyTemplates_NoPlaceholders(t *testing.T) {
153153
154154func TestResolveDestroyTemplates_WithNestedPlaceholder (t * testing.T ) {
155155 data := & CurlResourceModel {
156- Response : types .StringValue (`{"data":{"object_id":"nested-456"}}` ),
157- DestroyUrl : types .StringValue ("https://example.com/objects/{response.data.object_id}" ),
156+ Response : types .StringValue (`{"data":{"object_id":"nested-456"}}` ),
157+ DestroyUrl : types .StringValue ("https://example.com/objects/{response.data.object_id}" ),
158158 DestroyRequestBody : types .StringValue (`{"id":"{response.data.object_id}"}` ),
159159 }
160160
You can’t perform that action at this time.
0 commit comments