WordPress.org

Make WordPress Core

Ticket #29827: 29827.3.patch

File 29827.3.patch, 580 bytes (added by boonebgorges, 6 years ago)
  • tests/phpunit/includes/testcase.php

    diff --git tests/phpunit/includes/testcase.php tests/phpunit/includes/testcase.php
    index 7325603..4b46b8d 100644
    class WP_UnitTestCase extends PHPUnit_Framework_TestCase { 
    134134                        }
    135135                }
    136136        }
    137        
     137
    138138        function flush_cache() {
    139139                global $wp_object_cache;
    140140                $wp_object_cache->group_ops = array();
    class WP_UnitTestCase extends PHPUnit_Framework_TestCase { 
    456456                $files = $this->files_in_dir( $uploads['basedir'] );
    457457                return $files;
    458458        }
    459 }
    460  No newline at end of file
     459}