Skip to content

Commit

Permalink
Use 'file:' prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jun 18, 2024
1 parent 338d68a commit 9a30fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/blocks/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ public function data_register_block_registers_with_args_override_returns_false_w
*/
public function test_register_block_type_from_metadata_with_variations_php_file() {
$filter_metadata_registration = static function ( $metadata ) {
$metadata['variations'] = 'variations.php';
$metadata['variations'] = 'file:./variations.php';
return $metadata;
};

Expand Down

0 comments on commit 9a30fb2

Please sign in to comment.