Changeset 48937 for trunk/tests/phpunit/tests/post/getPostClass.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPostClass.php
r46586 r48937 49 49 */ 50 50 public function test_with_custom_classes_and_no_post() { 51 $this->assert Equals( array(), get_post_class( '', null ) );52 $this->assert Equals( array( 'foo' ), get_post_class( 'foo', null ) );53 $this->assert Equals( array( 'foo', 'bar' ), get_post_class( array( 'foo', 'bar' ), null ) );51 $this->assertSame( array(), get_post_class( '', null ) ); 52 $this->assertSame( array( 'foo' ), get_post_class( 'foo', null ) ); 53 $this->assertSame( array( 'foo', 'bar' ), get_post_class( array( 'foo', 'bar' ), null ) ); 54 54 } 55 55
Note: See TracChangeset
for help on using the changeset viewer.