WordPress.org

Make WordPress Core

Changeset 887 in tests


Ignore:
Timestamp:
07/08/12 12:34:38 (22 months ago)
Author:
nbachiyski
Message:

Don't use random string for action name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_actions.php

    r886 r887  
    1010    function test_simple_action() { 
    1111        $a = new MockAction(); 
    12         $tag = rand_str(); 
     12        $tag = 'test_action'; 
    1313 
    1414        add_action($tag, array(&$a, 'action')); 
Note: See TracChangeset for help on using the changeset viewer.