Changeset 36050
- Timestamp:
- 12/21/2015 07:15:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPostsByAuthorSql.php
r35242 r36050 137 137 138 138 $maybe_string = get_posts_by_author_sql( array( 'foo', 'bar', 'baz' ) ); 139 140 $editor_role->remove_cap( 'read_private_baz' ); 141 139 142 $this->assertNotContains( "post_type = 'foo' AND ( post_status = 'publish' OR post_status = 'private' )", $maybe_string ); 140 143 $this->assertNotContains( "post_type = 'bar' AND ( post_status = 'publish' OR post_status = 'private' )", $maybe_string );
Note: See TracChangeset
for help on using the changeset viewer.