Make WordPress Core

Changeset 34900


Ignore:
Timestamp:
10/07/2015 06:16:58 AM (11 years ago)
Author:
jeremyfelt
Message:

Tests: Account for non-numeric strings in tests for get_space_allowed().

Provides a specific test for a case where a non-numeric strings are assigned to blog_upload_space at both the site and network levels.

See #34037.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/getSpaceAllowed.php

    r34898 r34900  
    9393                        // If neither network or site options are valid, fallback to the default.
    9494                        array( false, false, 100 ),
     95                        array( 'NAN', 'NAN', 100 ),
    9596
    9697                        // These are likely unexpected.
Note: See TracChangeset for help on using the changeset viewer.