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.


git-svn-id: https://develop.svn.wordpress.org/trunk@34900 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2015-10-07 06:16:58 +00:00
parent b947cad868
commit b41be4c55c
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class Tests_Multisite_Get_Space_Allowed extends WP_UnitTestCase {
// If neither network or site options are valid, fallback to the default.
array( false, false, 100 ),
array( 'NAN', 'NAN', 100 ),
// These are likely unexpected.
array( 0, 666, 100 ),