diff --git a/templates/theme-bootstrap.mustache b/templates/theme-bootstrap.mustache index d8e135580..d320dcb44 100644 --- a/templates/theme-bootstrap.mustache +++ b/templates/theme-bootstrap.mustache @@ -17,6 +17,9 @@ if ( ! file_exists( $_tests_dir . '/includes/functions.php' ) ) { // Give access to tests_add_filter() function. require_once $_tests_dir . '/includes/functions.php'; +/** + * Registers theme + */ function _register_theme() { $theme_dir = dirname( __DIR__ ); diff --git a/templates/theme-test-sample.mustache b/templates/theme-test-sample.mustache index ec78927c6..fb44cdc66 100644 --- a/templates/theme-test-sample.mustache +++ b/templates/theme-test-sample.mustache @@ -13,7 +13,7 @@ class SampleTest extends WP_UnitTestCase { /** * A single example test. */ - function test_sample() { + public function test_sample() { // Replace this with some actual testing code. $this->assertTrue( true ); }