WordPress.org

Make WordPress Core

Changeset 904 in tests for trunk/tests/ajax/GetComments.php


Ignore:
Timestamp:
07/18/2012 07:01:41 PM (9 years ago)
Author:
nacin
Message:

Rename tests to conform to this standard: the class Tests_A_B_C.php should be found in Tests/A/B/C.php.

One class per file. Tests are now organized by general component, rather than by the core file they are found in.

Work in progress. Some classes need to be renamed, and some files still need to be moved (and split up).

Location:
trunk/tests/ajax
Files:
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/ajax/GetComments.php

    r903 r904  
    44 * Admin ajax functions to be tested
    55 */
    6 include_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
     6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
    77
    88/**
     
    1515 * @runTestsInSeparateProcesses
    1616 */
    17 class TestAjaxCommentsGet extends WP_Ajax_UnitTestCase {
     17class Tests_Ajax_GetComments extends WP_Ajax_UnitTestCase {
    1818
    1919    /**
Note: See TracChangeset for help on using the changeset viewer.