Changeset 40058
- Timestamp:
- 02/14/2017 04:22:32 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r39195 r40058 440 440 cmd: 'phpunit', 441 441 args: ['-c', 'phpunit.xml.dist', '--group', 'external-http'] 442 }, 443 'restapi-jsclient': { 444 cmd: 'phpunit', 445 args: ['-c', 'phpunit.xml.dist', '--group', 'restapi-jsclient'] 442 446 } 443 447 }, … … 671 675 'jshint:core', 672 676 'jshint:media' 677 ] ); 678 679 grunt.registerTask( 'restapi-jsclient', [ 680 'phpunit:restapi-jsclient', 681 'qunit' 673 682 ] ); 674 683 -
trunk/tests/qunit/index.html
r39928 r40058 16 16 'url': '\/wp-admin\/admin-ajax.php' 17 17 } 18 }; 19 </script> 20 <script> 21 var wpApiSettings = { 22 'root': 'http://localhost/wp-json/' 18 23 }; 19 24 </script> … … 35 40 <script src="fixtures/customize-menus.js"></script> 36 41 <script src="fixtures/customize-widgets.js"></script> 42 <script src="fixtures/wp-api-generated.js"></script> 43 <script src="fixtures/wp-api.js"></script> 37 44 </div> 38 45 <p><a href="editor">TinyMCE tests</a></p> … … 44 51 <script src="../../src/wp-includes/js/shortcode.js"></script> 45 52 <script src="../../src/wp-admin/js/customize-controls.js"></script> 53 <script src="../../src/wp-includes/js/wp-api.js"></script> 46 54 47 55 <script type='text/javascript' src='../../src/wp-includes/js/jquery/ui/core.js'></script> … … 62 70 <script src="wp-admin/js/customize-header.js"></script> 63 71 <script src="wp-includes/js/shortcode.js"></script> 72 <script src="wp-includes/js/wp-api.js"></script> 64 73 <script src="wp-admin/js/customize-controls.js"></script> 65 74 <script src="wp-admin/js/customize-controls-utils.js"></script>
Note: See TracChangeset
for help on using the changeset viewer.