Making WordPress.org


Ignore:
Timestamp:
03/05/2021 12:31:30 AM (6 years ago)
Author:
coffee2code
Message:

Handbooks, Unit tests: Abstract data provider for default handbook config options into utils function dataprovider_get_default_config().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/phpunit/tests/init.php

    r10770 r10773  
    2626
    2727        public static function get_default_config() {
    28                 return [
    29                         [ 'label', '' ],
    30                         [ 'manifest', '' ],
    31                         [ 'slug', '' ],
    32                         [ 'with_front', '' ],
    33                 ];
     28                return \dataprovider_get_default_config();
    3429        }
    3530
Note: See TracChangeset for help on using the changeset viewer.