Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix spacing issues
  • Loading branch information
gziolo committed Oct 22, 2023
commit bec952e7efc812330c3dbcbe89c9d9ba2b24641e
12 changes: 6 additions & 6 deletions tests/phpunit/tests/block-template-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ public function test_build_block_template_result_from_file_template_part() {
public function test_build_block_template_result_from_file_template_use_custom_properties() {
$template = _build_block_template_result_from_file(
array(
'slug' => 'custom',
'title' => 'Custom Title',
'path' => DIR_TESTDATA . '/templates/template.html',
'slug' => 'custom',
'title' => 'Custom Title',
'path' => DIR_TESTDATA . '/templates/template.html',
),
'wp_template'
);
Expand All @@ -212,9 +212,9 @@ public function test_build_block_template_result_from_file_template_use_custom_p
public function test_build_block_template_result_from_file_template_enforce_default_properties() {
$template = _build_block_template_result_from_file(
array(
'slug' => 'single',
'title' => 'Custom title',
'path' => DIR_TESTDATA . '/templates/template.html',
'slug' => 'single',
'title' => 'Custom title',
'path' => DIR_TESTDATA . '/templates/template.html',
),
'wp_template'
);
Expand Down