Changeset 50945 for trunk/tests/phpunit/tests/blocks/block.php
- Timestamp:
- 05/21/2021 10:12:42 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/blocks/block.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block.php
r50944 r50945 435 435 ); 436 436 $block = new WP_Block( $parsed_block, $context, $this->registry ); 437 $query = construct_wp_query_args( $block, 1 );437 $query = build_query_vars_from_query_block( $block, 1 ); 438 438 439 439 $this->assertSame( … … 459 459 $parsed_block = $parsed_blocks[0]; 460 460 $block_no_context = new WP_Block( $parsed_block, array(), $this->registry ); 461 $query = construct_wp_query_args( $block_no_context, 1 );461 $query = build_query_vars_from_query_block( $block_no_context, 1 ); 462 462 463 463 $this->assertSame( … … 490 490 ); 491 491 $block = new WP_Block( $parsed_block, $context, $this->registry ); 492 $query = construct_wp_query_args( $block, 1 );492 $query = build_query_vars_from_query_block( $block, 1 ); 493 493 494 494 $this->assertSame( … … 523 523 ); 524 524 $block = new WP_Block( $parsed_block, $context, $this->registry ); 525 $query = construct_wp_query_args( $block, 3 );525 $query = build_query_vars_from_query_block( $block, 3 ); 526 526 $this->assertSame( 527 527 $query, … … 555 555 ); 556 556 $block = new WP_Block( $parsed_block, $context, $this->registry ); 557 $query = construct_wp_query_args( $block, 3 );557 $query = build_query_vars_from_query_block( $block, 3 ); 558 558 $this->assertSame( 559 559 $query,
Note: See TracChangeset
for help on using the changeset viewer.