Skip to content

Commit

Permalink
Add audio sticker markup to data_test_filter_kses_allowed_html
Browse files Browse the repository at this point in the history
  • Loading branch information
Swanand01 committed Apr 5, 2024
1 parent efaadef commit 1ca60a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/phpunit/integration/tests/KSES.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,10 @@ public function data_test_filter_kses_allowed_html(): array {
'<amp-story-shopping-tag data-product-id="lamp"></amp-story-shopping-tag><amp-story-shopping-attachment cta-text="Shop Now!"><script type="application/json">{}</script></amp-story-shopping-attachment>',
'<amp-story-shopping-tag data-product-id="lamp"></amp-story-shopping-tag><amp-story-shopping-attachment cta-text="Shop Now!"><script type="application/json">{}</script></amp-story-shopping-attachment>',
],
'AMP Story Audio Sticker' => [
'<amp-story-audio-sticker size="small" sticker="headphone-cat" sticker-style="outline"></amp-story-audio-sticker>',
'<amp-story-audio-sticker size="small" sticker="headphone-cat" sticker-style="outline"></amp-story-audio-sticker>',
],
];
}
}

0 comments on commit 1ca60a9

Please sign in to comment.