Make WordPress Core

Changeset 44442


Ignore:
Timestamp:
01/07/2019 09:41:40 PM (6 years ago)
Author:
joemcgill
Message:

Upload: Don't run some upload tests on multisite.

This moves several unit tests added in [44438] so they aren't run during multisite tests.

See #45615.

File:
1 edited

Legend:

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

    r44441 r44442  
    13571357                ),
    13581358            ),
    1359             // Assorted text/* sample files
    1360             array(
    1361                 DIR_TESTDATA . '/uploads/test.vtt',
    1362                 'test.vtt',
    1363                 array(
    1364                     'ext'             => 'vtt',
    1365                     'type'            => 'text/vtt',
    1366                     'proper_filename' => false,
    1367                 ),
    1368             ),
    1369             array(
    1370                 DIR_TESTDATA . '/uploads/test.csv',
    1371                 'test.csv',
    1372                 array(
    1373                     'ext'             => 'csv',
    1374                     'type'            => 'text/csv',
    1375                     'proper_filename' => false,
    1376                 ),
    1377             ),
    1378             // RTF files.
    1379             array(
    1380                 DIR_TESTDATA . '/uploads/test.rtf',
    1381                 'test.rtf',
    1382                 array(
    1383                     'ext'             => 'rtf',
    1384                     'type'            => 'application/rtf',
    1385                     'proper_filename' => false,
    1386                 ),
    1387             ),
    13881359        );
    13891360
     
    14231394                        ),
    14241395                    ),
     1396                    // Assorted text/* sample files
     1397                    array(
     1398                        DIR_TESTDATA . '/uploads/test.vtt',
     1399                        'test.vtt',
     1400                        array(
     1401                            'ext'             => 'vtt',
     1402                            'type'            => 'text/vtt',
     1403                            'proper_filename' => false,
     1404                        ),
     1405                    ),
     1406                    array(
     1407                        DIR_TESTDATA . '/uploads/test.csv',
     1408                        'test.csv',
     1409                        array(
     1410                            'ext'             => 'csv',
     1411                            'type'            => 'text/csv',
     1412                            'proper_filename' => false,
     1413                        ),
     1414                    ),
     1415                    // RTF files.
     1416                    array(
     1417                        DIR_TESTDATA . '/uploads/test.rtf',
     1418                        'test.rtf',
     1419                        array(
     1420                            'ext'             => 'rtf',
     1421                            'type'            => 'application/rtf',
     1422                            'proper_filename' => false,
     1423                        ),
     1424                    ),
    14251425                )
    14261426            );
Note: See TracChangeset for help on using the changeset viewer.