Skip to content

Commit

Permalink
Regenerating main color deprecation fixtures after WordPress#33502
Browse files Browse the repository at this point in the history
All we needed to do was add `__deprecated` to the file name so that the fixture test regex could find it :)
  • Loading branch information
ramonjd committed Jul 20, 2021
1 parent 6a5d751 commit 6d3491d
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 47 deletions.
@@ -0,0 +1,3 @@
<!-- wp:pullquote {"customMainColor":"#2207d0","textColor":"subtle-background","className":"is-style-default"} -->
<figure class="wp-block-pullquote is-style-default" style="border-color:#2207d0"><blockquote class="has-text-color has-subtle-background-color"><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>
<!-- /wp:pullquote -->
@@ -0,0 +1,20 @@
[
{
"clientId": "_clientId_0",
"name": "core/pullquote",
"isValid": true,
"attributes": {
"className": "is-style-default",
"style": {
"border": {
"color": "#2207d0"
}
},
"value": "<p>Pullquote custom color</p>",
"citation": "my citation",
"textColor": "subtle-background"
},
"innerBlocks": [],
"originalContent": "<figure class=\"wp-block-pullquote is-style-default\" style=\"border-color:#2207d0\"><blockquote class=\"has-text-color has-subtle-background-color\"><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>"
}
]
@@ -0,0 +1,15 @@
[
{
"blockName": "core/pullquote",
"attrs": {
"customMainColor": "#2207d0",
"textColor": "subtle-background",
"className": "is-style-default"
},
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-pullquote is-style-default\" style=\"border-color:#2207d0\"><blockquote class=\"has-text-color has-subtle-background-color\"><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-pullquote is-style-default\" style=\"border-color:#2207d0\"><blockquote class=\"has-text-color has-subtle-background-color\"><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>\n"
]
}
]
@@ -0,0 +1,3 @@
<!-- wp:pullquote {"className":"is-style-default","textColor":"subtle-background","style":{"border":{"color":"#2207d0"}}} -->
<figure class="wp-block-pullquote is-style-default has-border-color has-subtle-background-color has-text-color" style="border-color:#2207d0"><blockquote><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>
<!-- /wp:pullquote -->

This file was deleted.

21 changes: 0 additions & 21 deletions test/integration/fixtures/blocks/core__pullquote__main-color.json

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 6d3491d

Please sign in to comment.