Changes between Initial Version and Version 1 of Ticket #63443, comment 2
- Timestamp:
- 05/14/2025 03:19:25 AM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #63443, comment 2
initial v1 4 4 1. Manually create "archive" directory under `/tests/phpunit/data/filesystem` 5 5 2. Update the code in both files where it says `$this->assertSame( 1, $filter->get_call_count() );` to `$this->assertSame( 2, $filter->get_call_count() );`. By doing this, it will intentionally fail the test. 6 3. Now run both tests one by one : 7 8 9 {{{ 10 npm run test:php -- --filter=Tests_Filesystem_UnzipFilePclzip::test_should_apply_unzip_file_filters 11 npm run test:php -- --filter=Tests_Filesystem_UnzipFileZiparchive::test_should_apply_unzip_file_filters 12 }}} 13 14 15 6 16 3. Now check the "archive" directory is still there under `/tests/phpunit/data/filesystem`. 7 17 4. It should be removed in any case whether the test fails or passes.