Tests: Use shared fixtures in block theme tests.

This removes duplicate test data and aims to avoid future confusion about which themes to use in which tests.

Follow-up to [52049], [52246], [52247], [52279].

See #53363.

git-svn-id: https://develop.svn.wordpress.org/trunk@52391 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-12-19 16:23:38 +00:00
parent 7c0f7cbbda
commit ef404e2599
11 changed files with 16 additions and 45 deletions
@@ -1,3 +0,0 @@
<?php
echo 'PHP template for page with slug "home"';
@@ -1,4 +0,0 @@
/*
Theme Name: Test Block Child Theme
Template: test-block-theme
*/
@@ -1,3 +0,0 @@
<!-- wp:paragraph -->
<p>Page (ID 1) Template</p>
<!-- /wp:paragraph -->
@@ -1,2 +0,0 @@
<?php
// This file is for test purposes only.
@@ -1,3 +0,0 @@
<?php
echo 'PHP template for page with ID 1';
@@ -1,3 +0,0 @@
/*
Theme Name: Test Block Theme
*/
@@ -1,3 +0,0 @@
<!-- wp:paragraph -->
<p>Index Template</p>
<!-- /wp:paragraph -->
@@ -1,3 +0,0 @@
<!-- wp:paragraph -->
<p>Page (Home) Template</p>
<!-- /wp:paragraph -->
@@ -1,3 +0,0 @@
<!-- wp:paragraph -->
<p>Page Template</p>
<!-- /wp:paragraph -->