Make WordPress Core

Changeset 38454


Ignore:
Timestamp:
08/30/2016 06:54:53 PM (8 years ago)
Author:
wonderboymusic
Message:

OEmbed: add unit tests. @group external-oembed is not run by default.

Props johnbillion, wonderboymusic.
See #32360.

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r38281 r38454  
    439439                args: ['-c', 'phpunit.xml.dist', '--group', 'external-http']
    440440            }
     441            //,
     442            //'external-oembed': {
     443            //  cmd: 'phpunit',
     444            //  args: ['-c', 'phpunit.xml.dist', '--group', 'external-oembed']
     445            //}
    441446        },
    442447        uglify: {
  • trunk/phpunit.xml.dist

    r37449 r38454  
    2525            <group>ms-files</group>
    2626            <group>external-http</group>
     27            <group>external-oembed</group>
    2728        </exclude>
    2829    </groups>
  • trunk/tests/phpunit/includes/bootstrap.php

    r37266 r38454  
    134134            'ms-files' => true,
    135135            'external-http' => true,
     136            'external-oembed' => true,
    136137        );
    137138
  • trunk/tests/phpunit/multisite.xml

    r37267 r38454  
    2626            <group>ms-files</group>
    2727            <group>external-http</group>
     28            <group>external-oembed</group>
    2829            <group>oembed-headers</group>
    2930        </exclude>
Note: See TracChangeset for help on using the changeset viewer.