Changeset 7050 for trunk/tests/testcases/groups/template.php
- Timestamp:
- 05/09/2013 02:22:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/groups/template.php
r6950 r7050 15 15 $g1 = $this->factory->group->create(); 16 16 $g2 = $this->factory->group->create(); 17 groups_update_groupmeta( $g1 ->id, 'foo', 'bar' );17 groups_update_groupmeta( $g1, 'foo', 'bar' ); 18 18 19 19 global $groups_template; … … 28 28 29 29 $ids = wp_list_pluck( $groups_template->groups, 'id' ); 30 $this->assertEquals( $ids, array( $g1 ->id, ) );30 $this->assertEquals( $ids, array( $g1, ) ); 31 31 } 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.