Skip to content

Commit 1b53d43

Browse files
fix: use correct extend
Signed-off-by: Matthias Pichler <m.pichler@warrify.com>
1 parent 82fc625 commit 1b53d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mock-service-extension.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ document:
66
use:
77
extensions:
88
- name: mockService
9-
extend: http
10-
when: ($task.with.uri != null and ($task.with.uri | startswith("https://mocked.service.com"))) or ($task.with.endpoint.uri != null and ($task.with.endpoint.uri | startswith("https://mocked.service.com")))
9+
extend: call
10+
when: ($task.with.endpoint != null and ($task.with.endpoint | startswith("https://mocked.service.com"))) or ($task.with.endpoint.uri != null and ($task.with.endpoint.uri | startswith("https://mocked.service.com")))
1111
before:
1212
- set:
1313
statusCode: 200

0 commit comments

Comments
 (0)