Make WordPress Core

Changeset 39020


Ignore:
Timestamp:
10/30/2016 03:41:49 PM (8 years ago)
Author:
johnbillion
Message:

Customize: Avoid using assertNotFalse() in tests because it's not available in PHPUnit 3.6.

See #35395

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/custom-css-setting.php

    r39017 r39020  
    126126        $saved = $this->setting->save();
    127127
    128         $this->assertNotFalse( $saved );
     128        $this->assertTrue( false !== $saved );
    129129        $this->assertEquals( $updated_css, $this->setting->value() );
    130130        $this->assertEquals( $updated_css, wp_get_custom_css( $this->setting->stylesheet ) );
Note: See TracChangeset for help on using the changeset viewer.