Make WordPress Core

Changeset 903 in tests for trunk/tests/test_ms.php


Ignore:
Timestamp:
07/16/2012 05:24:25 PM (14 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_ms.php

    r894 r903  
    3232
    3333        // update the blog count cache to use get_blog_count()
    34         wp_update_network_counts(); 
     34        wp_update_network_counts();
    3535        $this->assertEquals( 4 + 1, (int) get_blog_count() );
    3636
     
    5353
    5454        // update the blog count cache to use get_blog_count()
    55         wp_update_network_counts(); 
     55        wp_update_network_counts();
    5656        $this->assertEquals( 1, get_blog_count() );
    5757    }
     
    153153        activate_plugin($path, '', $network_wide = true);
    154154        $active_plugins = wp_get_active_network_plugins();
    155         $this->assertEquals( Array(WP_PLUGIN_DIR . '/hello.php'), $active_plugins ); 
     155        $this->assertEquals( Array(WP_PLUGIN_DIR . '/hello.php'), $active_plugins );
    156156
    157157        //deactivate the plugin
     
    189189
    190190    function test_wp_schedule_update_network_counts() {
    191         $this->assertFalse(wp_next_scheduled('update_network_counts')); 
     191        $this->assertFalse(wp_next_scheduled('update_network_counts'));
    192192
    193193        // We can't use wp_schedule_update_network_counts() because WP_INSTALLING is set
    194194        wp_schedule_event(time(), 'twicedaily', 'update_network_counts');
    195195
    196         $this->assertInternalType('int', wp_next_scheduled('update_network_counts'));   
     196        $this->assertInternalType('int', wp_next_scheduled('update_network_counts'));
    197197    }
    198198
     
    203203
    204204        update_site_option('registration', 'all');
    205         $this->assertTrue( users_can_register_signup_filter() );   
     205        $this->assertTrue( users_can_register_signup_filter() );
    206206
    207207        update_site_option('registration', 'user');
     
    209209
    210210        update_site_option('registration', 'none');
    211         $this->assertFalse( users_can_register_signup_filter() );       
     211        $this->assertFalse( users_can_register_signup_filter() );
    212212    }
    213213
     
    333333        $this->assertEquals( 'example.com', $blog->domain );
    334334        $this->assertEquals( 'my_path/', $blog->path );
    335         $this->assertEquals( '0', $blog->spam );   
     335        $this->assertEquals( '0', $blog->spam );
    336336
    337337        $result = update_blog_details( $blog_id, array('domain' => 'example2.com','spam' => 1) );
Note: See TracChangeset for help on using the changeset viewer.