WordPress.org

Make WordPress Core

Changeset 469 in tests


Ignore:
Timestamp:
11/01/11 21:27:30 (2 years ago)
Author:
nacin
Message:

Add context to assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_admin_includes_screen.php

    r468 r469  
    7272            set_current_screen(); 
    7373 
    74             $this->assertEquals( $screen->id, $current_screen->id ); 
    75             $this->assertEquals( $screen->base, $current_screen->base ); 
     74            $this->assertEquals( $screen->id, $current_screen->id, $hook_name ); 
     75            $this->assertEquals( $screen->base, $current_screen->base, $hook_name ); 
    7676            if ( isset( $screen->action ) ) 
    7777                $this->assertEquals( $screen->action, $current_screen->action, $hook_name ); 
Note: See TracChangeset for help on using the changeset viewer.