Skip to content

Commit

Permalink
temp : trigger actions to test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Ta5r committed Sep 24, 2024
1 parent d02ddb2 commit 6ea65b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/unit/CoreQuoteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ public function test_retrieve_core_quote_fields_and_attributes(): void {
'style' => null,
'textColor' => null,
'value' => '<p>This is a sample quote block content.</p>',
'layout' => null,
'textAlign' => null,
// 'layout' => null,
// 'textAlign' => null,
],
$block['attributes'],
);
Expand Down Expand Up @@ -253,9 +253,9 @@ public function test_retrieve_core_quote_additional_attributes(): void {
*/
public function test_retrieve_core_quote_errorneous_attributes(): void {
// layout and textAlign are only supported in WP 6.5+.
// if ( ! is_wp_version_compatible( '6.6' ) ) {
// $this->markTestSkipped( 'This test requires WP 6.6 or higher.' );
// }
if ( ! is_wp_version_compatible( '6.5' ) ) {
$this->markTestSkipped( 'This test requires WP 6.6 or higher.' );
}
$block_content = '
<!-- wp:quote {"layout":"test-layout","textAlign":"center"} -->
<blockquote class="wp-block-quote" id="test-anchor"><!-- wp:paragraph -->
Expand Down

0 comments on commit 6ea65b8

Please sign in to comment.