Skip to content

Commit

Permalink
Improve comment for stub in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Canales committed Jun 7, 2023
1 parent f789eed commit 9131417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-theme-create-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function test_export_child_theme() {
->setMethods( array( 'download_file' ) )
->getMock();

// Configure the stub.
// Stub download_file method to avoid sending headers.
$create_block_theme_admin->method( 'download_file' )
->willReturn( true );

Expand Down

0 comments on commit 9131417

Please sign in to comment.