Skip to content

Commit e788129

Browse files
committed
Tests: Move short-open-tag test fixture out of page-templates directory
1 parent 45f31d7 commit e788129

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/data/themedir1/page-templates/template-header-short-tag.php renamed to tests/phpunit/data/formatting/file-header-short-open-tag.php

File renamed without changes.

tests/phpunit/tests/file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function test_get_file_data_with_single_line_php_open_tag() {
115115
*/
116116
public function test_get_file_data_with_single_line_short_open_tag() {
117117
$headers = array( 'TemplateName' => 'Template Name' );
118-
$actual = get_file_data( DIR_TESTDATA . '/themedir1/page-templates/template-header-short-tag.php', $headers );
118+
$actual = get_file_data( DIR_TESTDATA . '/formatting/file-header-short-open-tag.php', $headers );
119119
$this->assertSame( 'Short Tag Template', $actual['TemplateName'] );
120120
}
121121

0 commit comments

Comments
 (0)