Skip to content

Commit 3ede143

Browse files
authored
Merge pull request #83 from Automattic/fix/default-binding-content
Test for the targeted attribute, not the `__default` alias
2 parents 7070759 + c6f36a6 commit 3ede143

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/parser/test-synced-patterns.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function test_synced_pattern_with_override() {
199199
'content' => 'Overridden content', // Overridden by synced pattern override
200200
'metadata' => [
201201
'bindings' => [
202-
'__default' => [
202+
'content' => [
203203
'source' => 'core/pattern-overrides',
204204
],
205205
],
@@ -366,7 +366,7 @@ public function test_multiple_nested_synced_patterns_with_block_bindings() {
366366
'content' => 'Default content',
367367
'metadata' => [
368368
'bindings' => [
369-
'__default' => [
369+
'content' => [
370370
'source' => 'core/pattern-overrides',
371371
],
372372
],
@@ -417,7 +417,7 @@ public function test_multiple_nested_synced_patterns_with_block_bindings() {
417417
'content' => 'Overridden content', // Overridden by synced pattern override
418418
'metadata' => [
419419
'bindings' => [
420-
'__default' => [
420+
'content' => [
421421
'source' => 'core/pattern-overrides',
422422
],
423423
],
@@ -481,7 +481,7 @@ public function test_multiple_nested_synced_patterns_with_block_bindings() {
481481
'content' => 'Default content',
482482
'metadata' => [
483483
'bindings' => [
484-
'__default' => [
484+
'content' => [
485485
'source' => 'core/pattern-overrides',
486486
],
487487
],

0 commit comments

Comments
 (0)