Skip to content

Commit

Permalink
fix: adapt the tests to change the chmod of the unreadable file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahe committed Jun 13, 2024
1 parent e022214 commit 22b8fa9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
20 changes: 11 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tests/test-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
*/
class WP_HTTP_BLOCKLIST extends WP_UnitTestCase {

public static function tearDownAfterClass(): void {
chmod( TEST_DIR . '/blocklist_unreadable.txt', 0755 );
}

/**
* A single example test.
*/
Expand Down

0 comments on commit 22b8fa9

Please sign in to comment.