Skip to content

Commit 7612818

Browse files
Updated
Co-authored-by: Esad Cetiner <104706115+EsadCetiner@users.noreply.github.com>
1 parent 30b2fa1 commit 7612818

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/regression/wordpress-rule-exclusions-plugin/9507146.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tests:
6565
method: POST
6666
version: "HTTP/1.1"
6767
uri: /index.php?rest_route=/wp/v2/sidebars/sidebar-1&_locale=user
68-
data: >-
68+
data: |-
6969
{"id":"sidebar-1","widgets":["search-2","recent-posts-2","recent-comments-2","archives-2","categories-2","meta-2","block-2","block-3"]}
7070
output:
7171
log:
@@ -85,7 +85,7 @@ tests:
8585
method: POST
8686
version: "HTTP/1.1"
8787
uri: /index.php?rest_route=/wp/v2/posts/1&_locale=user
88-
data: >-
88+
data: |-
8989
{"id":1,"content":"<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>\n\n<!-- wp:paragraph -->\n<p>dddd</p>\n<!-- /wp:paragraph -->"}
9090
output:
9191
log:

tests/regression/wordpress-rule-exclusions-plugin/9507147.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tests:
4242
method: POST
4343
version: "HTTP/1.1"
4444
uri: /post/wp-json/wp/v2/global-styles/1?wp_theme_preview=twentytwentyfour&_locale=user
45-
data: >-
45+
data: |-
4646
{"id":2934,"styles":{"blocks":{"core/site-title":{"typography":{"fontWeight":"400"}},"core/pullquote":{"typography":{"fontSize":"var(--wp--preset--font-size--large)","fontStyle":"normal","fontWeight":"normal","lineHeight":"1.2"}},"core/quote":{"variations":{"plain":{"typography":{"fontStyle":"normal","fontWeight":"400"}}},"typography":{"fontFamily":"var(--wp--preset--font-family--heading)","fontSize":"var(--wp--preset--font-size--large)","fontStyle":"normal"}},"core/navigation":{"typography":{"fontWeight":"400"}}},"elements":{"button":{"typography":{"fontFamily":"var(--wp--preset--font-family--heading)","fontSize":"var(--wp--preset--font-size--small)","fontStyle":"normal"}},"heading":{"color":{"background":"#ab5a5a"}}},"css":""}}
4747
output:
4848
log:
@@ -62,7 +62,7 @@ tests:
6262
method: POST
6363
version: "HTTP/1.1"
6464
uri: /post/wp-json/wp/v2/sidebars/sidebar-1?_locale=user
65-
data: >-
65+
data: |-
6666
{"id":"sidebar-1","widgets":["block-16","block-17","block-18"]}
6767
output:
6868
log:
@@ -82,7 +82,7 @@ tests:
8282
method: POST
8383
version: "HTTP/1.1"
8484
uri: /wp-json/wp/v2/posts/1&_locale=user
85-
data: >-
85+
data: |-
8686
{"id":1,"content":"<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>\n\n<!-- wp:paragraph -->\n<p>dddd</p>\n<!-- /wp:paragraph -->"}
8787
output:
8888
log:
@@ -120,7 +120,7 @@ tests:
120120
method: POST
121121
version: "HTTP/1.1"
122122
uri: /index.php/wp-json/wp/v2/posts/1&_locale=user
123-
data: >-
123+
data: |-
124124
{"id":1,"content":"<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>\n\n<!-- wp:paragraph -->\n<p>dddd</p>\n<!-- /wp:paragraph -->"}
125125
output:
126126
log:
@@ -140,7 +140,7 @@ tests:
140140
method: POST
141141
version: "HTTP/1.1"
142142
uri: /subdir/wordpress-here/wp-json/wp/v2/posts/1&_locale=user
143-
data: >-
143+
data: |-
144144
{"id":1,"content":"<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>\n\n<!-- wp:paragraph -->\n<p>dddd</p>\n<!-- /wp:paragraph -->"}
145145
output:
146146
log:

0 commit comments

Comments
 (0)