create-block-theme/tests/CbtThemeReadme/getContent.php
Matias Benedetto 424ebee3b1
Add prefix to the names in the PHP global namespace. (#628)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2024-05-14 07:27:30 -04:00

18 lines
480 B
PHP

<?php
require_once __DIR__ . '/base.php';
/**
* Test the get_content method of the CBT_Theme_Readme class.
*
* @package Create_Block_Theme
* @covers CBT_Theme_Readme::get_content
* @group readme
*/
class CBT_ThemeReadme_GetContent extends CBT_Theme_Readme_UnitTestCase {
public function test_get_content() {
$result = CBT_Theme_Readme::get_content();
$expected = file_get_contents( CBT_Theme_Readme::file_path() );
$this->assertEquals( $expected, $result );
}
}