Skip to:
Content

bbPress.org

Ticket #2542: 2542.8.diff

File 2542.8.diff, 1.5 KB (added by netweb, 10 years ago)
  • Gruntfile.js

     
    263285
    264286        // Build tasks.
    265287        grunt.registerTask( 'build',         [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build' ] );
    266         grunt.registerTask( 'build-release', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', 'phpunit:all' ] );
     288        grunt.registerTask( 'build-release', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', 'phpunit' ] );
    267289
    268290        // Testing tasks.
    269291        grunt.registerMultiTask( 'phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() {
  • tests/phpunit/multisite.xml

     
     1<phpunit
     2        bootstrap="bootstrap.php"
     3        backupGlobals="false"
     4        colors="true"
     5        convertErrorsToExceptions="true"
     6        convertNoticesToExceptions="true"
     7        convertWarningsToExceptions="true"
     8        >
     9        <php>
     10                <const name="WP_TESTS_MULTISITE" value="1" />
     11        </php>
     12        <testsuites>
     13                <testsuite>
     14                        <directory suffix=".php">./testcases/</directory>
     15                </testsuite>
     16        </testsuites>
     17</phpunit>