Changeset 31408 for trunk/tests/phpunit/tests/post/getPostClass.php
- Timestamp:
- 02/11/2015 03:59:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPostClass.php
r31280 r31408 46 46 47 47 /** 48 * @ticket 22271 49 */ 50 public function test_with_custom_classes_and_no_post() { 51 $this->assertEquals( array(), get_post_class( '', null ) ); 52 $this->assertEquals( array( 'foo' ), get_post_class( 'foo', null ) ); 53 $this->assertEquals( array( 'foo', 'bar' ), get_post_class( array( 'foo', 'bar' ), null ) ); 54 } 55 56 /** 48 57 * @group cache 49 58 */
Note: See TracChangeset
for help on using the changeset viewer.