Skip to:
Content

BuddyPress.org

Changeset 8295


Ignore:
Timestamp:
04/18/2014 05:29:09 PM (11 years ago)
Author:
boonebgorges
Message:

Trim whitespace in bp-xprofile-field-type tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testcases/xprofile/class-bp-xprofile-field-type.php

    r8178 r8295  
    1717        $this->assertEquals( get_class( $field ), 'BP_XProfile_Field_Type_Textbox' );
    1818    }
    19 
    2019
    2120    public function test_textbox_validate_empty_string() {
     
    4241    }
    4342
    44 
    4543    public function test_multiselectbox_validate_whitelisted_array() {
    4644        $field = bp_xprofile_create_field_type( 'multiselectbox' );
     
    6159        $this->assertTrue( $field->is_valid( array() ) );
    6260    }
    63 
    6461
    6562    public function test_datebox_do_not_validate_string() {
     
    8481        $this->assertFalse( $field->is_valid( '2013-12-22' ) );
    8582    }
    86 
    8783
    8884    public function test_number_do_not_validate_string() {
     
    121117    }
    122118
    123 
    124119    public function test_radiobutton_validate_whitelisted_array() {
    125120        $field = bp_xprofile_create_field_type( 'radio' );
     
    139134        $this->assertFalse( $field->is_valid( array( '' ) ) );
    140135    }
    141 
    142136
    143137    public function test_checkbox_validate_whitelisted_array() {
Note: See TracChangeset for help on using the changeset viewer.