Skip to content

Commit

Permalink
Add PHP docblocks for HTML and caption fields in Table_Test and Theme…
Browse files Browse the repository at this point in the history
…s_Test classes
  • Loading branch information
attackant committed Oct 31, 2023
1 parent fd06ac3 commit 0066034
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/admin/test-class-admin-apple-themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@
use Apple_Exporter\Theme;

/**
* A class which is used to test the Admin_Apple_Themes class.
*
*/
class Admin_Apple_Themes_Test extends Apple_News_Testcase {

/**
* Admin themes.
*
* @var Admin_Apple_Themes
*/
private Admin_Apple_Themes $themes;

/**
Expand Down
10 changes: 10 additions & 0 deletions tests/apple-exporter/components/test-class-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@
* @subpackage Tests
*/
class Apple_News_Table_Test extends Apple_News_Component_TestCase {
/**
* The HTML code to display
* .
* @var string $html
*/
private string $html;
/**
* The caption for the HTML.
*
* @var string $html_caption
*/
private string $html_caption;

/**
Expand Down

0 comments on commit 0066034

Please sign in to comment.