Make WordPress Core

Changeset 54862


Ignore:
Timestamp:
11/22/2022 03:09:33 PM (19 months ago)
Author:
SergeyBiryukov
Message:

Tests: Add a public visibility to wp_filesize() tests.

Follow-up to [52010], [52837], [52932], [54861].

See #57171.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/wpFilesize.php

    r54861 r54862  
    1212     * @ticket 49412
    1313     */
    14     function test_wp_filesize() {
     14    public function test_wp_filesize() {
    1515        $file = DIR_TESTDATA . '/images/test-image-upside-down.jpg';
    1616
     
    2121     * @ticket 49412
    2222     */
    23     function test_wp_filesize_filters() {
     23    public function test_wp_filesize_filters() {
    2424        $file = DIR_TESTDATA . '/images/test-image-upside-down.jpg';
    2525
     
    4646     * @ticket 49412
    4747     */
    48     function test_wp_filesize_with_nonexistent_file() {
     48    public function test_wp_filesize_with_nonexistent_file() {
    4949        $file = 'nonexistent/file.jpg';
    5050
Note: See TracChangeset for help on using the changeset viewer.